Skip warnings in the pregenerated equals and hashcode: values nullability may change in the future.

This commit is contained in:
Kirill Likhodedov
2012-03-09 13:12:27 +04:00
parent a3b93425f6
commit b5bf6ea6ee
@@ -64,6 +64,7 @@ public class GitBranchTrackInfo {
return String.format("%s %s %s %b", myBranch, myRemote, myRemoteBranch, myMerge);
}
@SuppressWarnings("ConstantConditions")
@Override
public boolean equals(Object o) {
@@ -80,6 +81,7 @@ public class GitBranchTrackInfo {
return true;
}
@SuppressWarnings("ConstantConditions")
@Override
public int hashCode() {
int result = myBranch != null ? myBranch.hashCode() : 0;