Upgrade sonar to new 6.2 installation (#456)

* Upgrade to new sonar instance. Fix new identified issues.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
This commit is contained in:
Kai Zimmermann
2017-03-14 10:06:56 +01:00
committed by GitHub
parent 809fe4a8b6
commit 67d17fe661
66 changed files with 558 additions and 713 deletions

View File

@@ -121,7 +121,7 @@ public class TenantUsage {
if (obj == null) {
return false;
}
if (!(obj instanceof TenantUsage)) {
if (getClass() != obj.getClass()) {
return false;
}
final TenantUsage other = (TenantUsage) obj;
@@ -137,9 +137,6 @@ public class TenantUsage {
if (targets != other.targets) {
return false;
}
if (!this.getUsageData().equals(other.getUsageData())) {
return false;
}
if (tenantName == null) {
if (other.tenantName != null) {
return false;
@@ -147,6 +144,13 @@ public class TenantUsage {
} else if (!tenantName.equals(other.tenantName)) {
return false;
}
if (usageData == null) {
if (other.usageData != null) {
return false;
}
} else if (!usageData.equals(other.usageData)) {
return false;
}
return true;
}