Parameter to equals can be null

This commit is contained in:
Sam Harwell 2012-07-18 14:24:16 -05:00
parent 3a35f3cb08
commit 45e42d7243
1 changed files with 2 additions and 2 deletions

View File

@ -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;