From 5e0e574432dabcba1fb4a84a752b000b466999bd Mon Sep 17 00:00:00 2001 From: anushadasari Date: Tue, 24 Sep 2019 21:37:40 +0530 Subject: 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 --- auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/TypedCode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth') 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 extends Content { return type.y.y.add(new Pair(tag,"version".equals(tag)?new Version(value):value)); } - public Pair, List>>> prep(TRANS trans, String compare) throws IOException, ServletException { + public Pair, List>>> prep(TRANS trans, String compare){ Pair, List>>> c,rv=null; if (types.size()==1 && "".equals((c=types.get(0)).x)) { // if there are no checks for type, skip rv = c; -- cgit 1.2.3-korg