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