Sonar Fix - SendEmail.java - Remove the declaration of thrown exception 76/93876/1
authordinesha <dineshgs@in.ibm.com>
Fri, 16 Aug 2019 07:33:25 +0000 (13:03 +0530)
committerManoop Talasila <talasila@research.att.com>
Mon, 19 Aug 2019 14:47:58 +0000 (14:47 +0000)
Fixed sonar issues across the file

Issue-ID: PORTAL-686
Change-Id: I78e94c5d50efa76a5d2183fa154ab8477a65c928
Signed-off-by: dinesha <dineshgs@in.ibm.com>
(cherry picked from commit 113b851fd49d934f851ff2dae1cda804fbbcb16e)

ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/scheduler/SendEmail.java

index 1f6b491..f698e55 100644 (file)
@@ -399,7 +399,7 @@ SchedulerUtil schedulerUtil;
 
 
        void createFile(HttpURLConnection con, String outputFolder, String fileName)
-                       throws IOException, FileNotFoundException {
+                       throws IOException {
                //BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
                InputStream in  = con.getInputStream();