Refactoring: Remove not-null warnings

This commit is contained in:
Nikolay Krasko
2013-06-11 18:47:02 +04:00
parent b14a5f3ea1
commit ca1c13054a
@@ -155,20 +155,18 @@ public class FqName extends FqNameBase {
@Override
public boolean equals(Object o) {
// generated by Idea
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FqName that = (FqName) o;
FqName otherFqName = (FqName) o;
if (fqName != null ? !fqName.equals(that.fqName) : that.fqName != null) return false;
if (!fqName.equals(otherFqName.fqName)) return false;
return true;
}
@Override
public int hashCode() {
// generated by Idea
return fqName != null ? fqName.hashCode() : 0;
return fqName.hashCode();
}
}