diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2018-12-18 14:19:57 +0100 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2018-12-19 11:27:41 +0100 |
commit | 136c5e86c69447d52c022e837079e611bc5007b3 (patch) | |
tree | 07cb56817e7a635ace850c0019b79ad6d61ab990 /controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ApplicationVersion.java | |
parent | f816fb18daad6ac5180d331c3fe041f0e33a253e (diff) |
Let author be a proper part of ApplicationVersion
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ApplicationVersion.java')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ApplicationVersion.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ApplicationVersion.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ApplicationVersion.java index eaa105875d1..1c8b861ba51 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ApplicationVersion.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ApplicationVersion.java @@ -85,12 +85,13 @@ 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); } @Override public int hashCode() { - return Objects.hash(source, buildNumber); + return Objects.hash(source, authorEmail, buildNumber); } @Override |