diff options
author | anushadasari <danush10@in.ibm.com> | 2019-09-24 21:30:15 +0530 |
---|---|---|
committer | anushadasari <danush10@in.ibm.com> | 2019-09-24 21:30:30 +0530 |
commit | 8499b068f18fc50aa82cb8489178a969e0fada7c (patch) | |
tree | bc785e0ee87f8951d5e25ef85eb87378470181b2 /auth | |
parent | 3e2ff1dd33f7046e3574e3091dbe5974ac48f236 (diff) |
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 <danush10@in.ibm.com>
Diffstat (limited to 'auth')
-rw-r--r-- | auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |