From 8499b068f18fc50aa82cb8489178a969e0fada7c Mon Sep 17 00:00:00 2001 From: anushadasari Date: Tue, 24 Sep 2019 21:30:15 +0530 Subject: Sonar-OrganizationFactory.java Remove the declaration of thrown exception 'org.onap.aaf.auth.org.OrganizationException', as it cannot be thrown from method's body Issue-ID: AAF-985 Change-Id: I6c57e9e8ac55ebefe7179244fcc1aef14a1e10f7 Signed-off-by: anushadasari --- .../src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth/auth-core') diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java index 4f2ba4f2..2ada75d2 100644 --- a/auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java +++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java @@ -142,7 +142,7 @@ public class OrganizationFactory { return org; } - public static Organization get(AuthzTrans trans) throws OrganizationException { + public static Organization get(AuthzTrans trans){ String domain = FQI.reverseDomain(trans.user()); Organization org = orgs.get(domain); if (org==null) { -- cgit 1.2.3-korg