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