ApplicationVersion equality on id parts only
@@ -115,15 +115,12 @@ public class ApplicationVersion implements Comparable<ApplicationVersion> {
if (!(o instanceof ApplicationVersion)) return false;
ApplicationVersion that = (ApplicationVersion) o;
return Objects.equals(source, that.source) &&
- Objects.equals(authorEmail, that.authorEmail) &&
- Objects.equals(buildNumber, that.buildNumber) &&
- Objects.equals(compileVersion, that.compileVersion) &&
- Objects.equals(buildTime, that.buildTime);
+ Objects.equals(buildNumber, that.buildNumber);
}
@Override
public int hashCode() {
- return Objects.hash(source, authorEmail, buildNumber, compileVersion, buildTime);
+ return Objects.hash(source, buildNumber);
}
@Override
