Example #1
0
 @Override
 public boolean equals(Object o) {
   ApiVersionInfo that = ApiUtils.baseEquals(this, o);
   return this == that
       || (that != null
           && Objects.equal(version, that.version)
           && Objects.equal(isSnapshot, that.isSnapshot)
           && Objects.equal(buildUser, that.buildUser)
           && Objects.equal(buildTimestamp, that.buildTimestamp)
           && Objects.equal(gitHash, that.gitHash));
 }
Example #2
0
 @Override
 public boolean equals(Object o) {
   ApiHost that = ApiUtils.baseEquals(this, o);
   return this == that || (that != null && Objects.equal(hostId, that.getHostId()));
 }