Refactoring: remove warning
This commit is contained in:
@@ -172,13 +172,15 @@ public final class QualifiedNamesUtil {
|
|||||||
if (!Character.isJavaIdentifierPart(c)) return false;
|
if (!Character.isJavaIdentifierPart(c)) return false;
|
||||||
state = MIDDLE;
|
state = MIDDLE;
|
||||||
}
|
}
|
||||||
else if (state == MIDDLE) {
|
|
||||||
if (c == '.') {
|
//noinspection ConstantConditions
|
||||||
state = AFTER_DOT;
|
assert state == MIDDLE;
|
||||||
}
|
|
||||||
else if (!Character.isJavaIdentifierPart(c)) {
|
if (c == '.') {
|
||||||
return false;
|
state = AFTER_DOT;
|
||||||
}
|
}
|
||||||
|
else if (!Character.isJavaIdentifierPart(c)) {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user