Fixing inverted condition on equals

This commit is contained in:
Alberto Rios
2019-04-03 13:28:52 +02:00
committed by Scott Frederick
parent cf530ebb4c
commit 4d82cfa60d

View File

@@ -135,7 +135,7 @@ public class CredHubRequest<T> {
if (name != null ? !name.equals(that.name) : that.name != null) return false;
if (credentialType != that.credentialType) return false;
if (additionalPermissions != null ?
additionalPermissions.equals(that.additionalPermissions) : that.additionalPermissions == null) return false;
!additionalPermissions.equals(that.additionalPermissions) : that.additionalPermissions == null) return false;
if (details != null ? !details.equals(that.details) : that.details != null) return false;
if (mode != null ? !mode.equals(that.mode) : that.mode != null) return false;