Refactoring: remove warning

This commit is contained in:
Nikolay Krasko
2013-07-12 14:46:50 +04:00
parent bf8d5c37ed
commit 68bd7405ff
@@ -172,13 +172,15 @@ public final class QualifiedNamesUtil {
if (!Character.isJavaIdentifierPart(c)) return false;
state = MIDDLE;
}
else if (state == MIDDLE) {
if (c == '.') {
state = AFTER_DOT;
}
else if (!Character.isJavaIdentifierPart(c)) {
return false;
}
//noinspection ConstantConditions
assert state == MIDDLE;
if (c == '.') {
state = AFTER_DOT;
}
else if (!Character.isJavaIdentifierPart(c)) {
return false;
}
}