From b126c6c5f625432722405538692184f5c74edaad Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 29 Mar 2018 21:40:16 -0500 Subject: Clean up Sonar results 3 Issue-ID: AAF-206 Change-Id: I4494990e8e0bd702b475bbbfb140eaadd566d2a0 Signed-off-by: Instrumental --- auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth/auth-deforg/src/main/java') diff --git a/auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java b/auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java index e0848926..9fc983e2 100644 --- a/auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java +++ b/auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java @@ -608,7 +608,7 @@ public class DefaultOrg implements Organization { Identity mechid = getIdentity(trans, vars[0]); if(mechid!=null) { Identity sponsor = mechid.responsibleTo(); - if(sponsor!=null && requestor.equals(sponsor.fullID())) { + if(sponsor!=null && requestor.fullID().equals(sponsor.fullID())) { return null; } else { return trans.user() + " is not the Sponsor of MechID " + vars[0]; -- cgit 1.2.3-korg