mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Skip warnings in the pregenerated equals and hashcode: values nullability may change in the future.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user