API_History.java -remove the thrown exception 78/97978/1
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Tue, 5 Nov 2019 19:39:36 +0000 (01:09 +0530)
committerThugutla sailakshmi <tsaila10@in.ibm.com>
Tue, 5 Nov 2019 19:46:39 +0000 (01:16 +0530)
Issue-ID: AAF-876
Change-Id: I76f7db17ec562df07e36d96ee8e05e5128a14658
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
auth/auth-service/src/main/java/org/onap/aaf/auth/service/api/API_History.java

index 341719c..6354f6a 100644 (file)
@@ -208,7 +208,7 @@ public class API_History {
 
     // Get Common "yyyymm" parameter, or none
 
-    private static int[] getYears(HttpServletRequest req) throws NumberFormatException {
+    private static int[] getYears(HttpServletRequest req) {
         // Sonar says threading issues.
         SimpleDateFormat FMT = new SimpleDateFormat("yyyyMM");
         String yyyymm = req.getParameter("yyyymm");