Refactoring: Remove not-null warnings
This commit is contained in:
@@ -155,20 +155,18 @@ public class FqName extends FqNameBase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
// generated by Idea
|
|
||||||
if (this == o) return true;
|
if (this == o) return true;
|
||||||
if (o == null || getClass() != o.getClass()) return false;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
// generated by Idea
|
return fqName.hashCode();
|
||||||
return fqName != null ? fqName.hashCode() : 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user