commit | 8499b068f18fc50aa82cb8489178a969e0fada7c | [log] [tgz] |
---|---|---|
author | anushadasari <danush10@in.ibm.com> | Tue Sep 24 21:30:15 2019 +0530 |
committer | anushadasari <danush10@in.ibm.com> | Tue Sep 24 21:30:30 2019 +0530 |
tree | bc785e0ee87f8951d5e25ef85eb87378470181b2 | |
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>
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 4f2ba4f..2ada75d 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 @@ 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) {