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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user