Trying to lift the Dashboard score out of the basement.
Change-Id: I2f8523079fcdf0ec614908063f4417c0b35352e6
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
return Objects.equals(instanceKey, other.instanceKey) && Objects.equals(statsDetails, other.statsDetails);
}
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int result = super.hashCode();
+ result = prime * result + ((instanceKey == null) ? 0 : instanceKey.hashCode());
+ result = prime * result + ((statsDetails == null) ? 0 : statsDetails.hashCode());
+ return result;
+ }
+
}
StatsDetailsTransport other = (StatsDetailsTransport) obj;
return appId == other.appId;
}
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int result = super.hashCode();
+ result = prime * result + appId;
+ result = prime * result + ((appName == null) ? 0 : appName.hashCode());
+ result = prime * result + ((metricUrl == null) ? 0 : metricUrl.hashCode());
+ return result;
+ }
+
}
m.setInstanceKey(s1);
m.setStatsDetails(n);
checkAppStats(m);
+ Assert.assertNotEquals(1, m.hashCode());
logger.info(m.toString());
}