mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
IDEA-104754 Good code yellow: Unboxing
This commit is contained in:
+3
@@ -292,6 +292,9 @@ public class DfaMemoryStateImpl implements DfaMemoryState {
|
||||
if (value instanceof DfaVariableValue) {
|
||||
myVariableStates.put(var, getVariableState((DfaVariableValue)value).clone());
|
||||
}
|
||||
else if (value instanceof DfaBoxedValue) {
|
||||
getVariableState(var).setNullable(false);
|
||||
}
|
||||
}
|
||||
|
||||
if (getVariableState(var).isNotNull()) {
|
||||
|
||||
Reference in New Issue
Block a user