Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/codewriter/OrganizedImports.java @ 7530:5e3d1a68664e
applied mx eclipseformat to all Java files
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Jan 2013 16:34:57 +0100 |
parents | 6343a09b2ec1 |
children | c8e1c5abf6ed |
comparison
equal
deleted
inserted
replaced
7529:4a11124a3563 | 7530:5e3d1a68664e |
---|---|
141 } | 141 } |
142 | 142 |
143 private static boolean processStaticImportElements(Set<String> newElements, Set<String> ambiguousElements, Set<String> declaredElements) { | 143 private static boolean processStaticImportElements(Set<String> newElements, Set<String> ambiguousElements, Set<String> declaredElements) { |
144 boolean allAmbiguous = false; | 144 boolean allAmbiguous = false; |
145 if (declaredElements.containsAll(newElements)) { | 145 if (declaredElements.containsAll(newElements)) { |
146 // all types already declared -> we can remove the import completely -> they will all get ambiguous | 146 // all types already declared -> we can remove the import completely -> they will all |
147 // get ambiguous | |
147 allAmbiguous = true; | 148 allAmbiguous = true; |
148 } | 149 } |
149 Set<String> newAmbiguous = new HashSet<>(); | 150 Set<String> newAmbiguous = new HashSet<>(); |
150 Set<String> newDeclared = new HashSet<>(); | 151 Set<String> newDeclared = new HashSet<>(); |
151 | 152 |