summaryrefslogtreecommitdiffstats
path: root/auth/auth-core/src
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-24 21:37:40 +0530
committeranushadasari <danush10@in.ibm.com>2019-09-24 21:37:51 +0530
commit5e0e574432dabcba1fb4a84a752b000b466999bd (patch)
tree95ab1d4166ffc6a2ead70295c93fb482fe98e7ce /auth/auth-core/src
parent8499b068f18fc50aa82cb8489178a969e0fada7c (diff)
Sonar-TypedCode.java
Remove the declaration of thrown exception 'java.io.IOException','javax.servlet.ServletException' as it cannot be thrown from method's body Issue-ID: AAF-985 Change-Id: Iffc6517b569e6f71876eea8839ec30172c508641 Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'auth/auth-core/src')
-rw-r--r--auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/TypedCode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/TypedCode.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/TypedCode.java
index 1a66cf7d..6f1372f3 100644
--- a/auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/TypedCode.java
+++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/TypedCode.java
@@ -128,7 +128,7 @@ public class TypedCode<TRANS extends Trans> extends Content<TRANS> {
return type.y.y.add(new Pair<String,Object>(tag,"version".equals(tag)?new Version(value):value));
}
- public Pair<String, Pair<HttpCode<TRANS, ?>, List<Pair<String, Object>>>> prep(TRANS trans, String compare) throws IOException, ServletException {
+ public Pair<String, Pair<HttpCode<TRANS, ?>, List<Pair<String, Object>>>> prep(TRANS trans, String compare){
Pair<String, Pair<HttpCode<TRANS,?>, List<Pair<String, Object>>>> c,rv=null;
if (types.size()==1 && "".equals((c=types.get(0)).x)) { // if there are no checks for type, skip
rv = c;