mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fail-fast DfaMemoryStateImpl.equals
This commit is contained in:
+4
@@ -90,6 +90,10 @@ public class DfaMemoryStateImpl implements DfaMemoryState {
|
||||
|
||||
if (myStateSize != that.myStateSize) return false;
|
||||
if (myDistinctClasses.size() != that.myDistinctClasses.size()) return false;
|
||||
if (myStack.size() != that.myStack.size()) return false;
|
||||
if (myOffsetStack.size() != that.myOffsetStack.size()) return false;
|
||||
if (myVariableStates.size() != that.myVariableStates.size()) return false;
|
||||
if (myUnknownVariables.size() != that.myUnknownVariables.size()) return false;
|
||||
|
||||
if (!myStack.equals(that.myStack)) return false;
|
||||
if (!myOffsetStack.equals(that.myOffsetStack)) return false;
|
||||
|
||||
Reference in New Issue
Block a user