You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
This issue type indicates impure functions. For instance, below functions would be marked as impure:
|
|
```java
|
|
void makeAllZero_impure(ArrayList<Foo> list) {
|
|
Iterator<Foo> listIterator = list.iterator();
|
|
while (listIterator.hasNext()) {
|
|
Foo foo = listIterator.next();
|
|
foo.x = 0;
|
|
}
|
|
}
|
|
```
|