typo in "asterisk"
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Thu, 29 Sep 2016 13:59:58 +0000 (16:59 +0300)
committerDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Thu, 29 Sep 2016 13:59:58 +0000 (16:59 +0300)
jps/jps-builders/src/org/jetbrains/jps/javac/ast/JavacReferencesCollector.java

index e38e9ea28f660d4f4c3d43a23361541afd91d308..0eb4519f85305e8bfd0c7d6b4b0b18bfee6321d3 100644 (file)
@@ -135,7 +135,7 @@ public class JavacReferencesCollector {
       }
     }
 
-    private Name getAsteriksFromCurrentNameTable(Name tableRepresentative) {
+    private Name getAsteriskFromCurrentNameTable(Name tableRepresentative) {
       if (myAsteriks == null) {
         myAsteriks = tableRepresentative.table.fromChars(new char[]{'*'}, 0, 1);
       }
@@ -152,7 +152,7 @@ public class JavacReferencesCollector {
             final JCTree.JCFieldAccess classImport = (JCTree.JCFieldAccess)qExpr;
             final Symbol ownerSym = classImport.sym;
             final Name name = id.getIdentifier();
-            if (name != getAsteriksFromCurrentNameTable(name)) {
+            if (name != getAsteriskFromCurrentNameTable(name)) {
               // member import
               for (Symbol memberSymbol : ownerSym.members().getElements()) {
                 if (memberSymbol.getSimpleName() == name) {