forked from jasder/antlr
Parameter to equals can be null
This commit is contained in:
parent
3a35f3cb08
commit
45e42d7243
|
@ -125,7 +125,7 @@ public abstract class SemanticContext {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(@NotNull Object obj) {
|
||||
public boolean equals(Object obj) {
|
||||
if ( this==obj ) return true;
|
||||
if ( !(obj instanceof AND) ) return false;
|
||||
AND other = (AND)obj;
|
||||
|
@ -162,7 +162,7 @@ public abstract class SemanticContext {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(@NotNull Object obj) {
|
||||
public boolean equals(Object obj) {
|
||||
if ( this==obj ) return true;
|
||||
if ( !(obj instanceof OR) ) return false;
|
||||
OR other = (OR)obj;
|
||||
|
|
Loading…
Reference in New Issue