Commit f3442286 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

could be final.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 1130f87b
......@@ -270,7 +270,7 @@ public final class OrganizeImports {
for (final ImportModule m : module.getImports()) {
final Identifier importedIdentifier = m.getIdentifier();
boolean isused = false;
for (Module m2 : usedModules) {
for (final Module m2 : usedModules) {
if(m2.getIdentifier().equals(importedIdentifier)) {
isused = true;
}
......@@ -348,7 +348,7 @@ public final class OrganizeImports {
static class ImportsCheck extends ASTVisitor {
private Set<Module> setOfModules = new HashSet<Module>();
private final Set<Module> setOfModules = new HashSet<Module>();
public ImportsCheck() {
setOfModules.clear();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment