コード例 #1
0
ファイル: ApiVersionInfo.java プロジェクト: bms231/cm_api
 @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));
 }
コード例 #2
0
ファイル: ApiHost.java プロジェクト: jcharbneau/cm_api
 @Override
 public boolean equals(Object o) {
   ApiHost that = ApiUtils.baseEquals(this, o);
   return this == that || (that != null && Objects.equal(hostId, that.getHostId()));
 }