Remove redundant catch block 93/12593/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 15 Sep 2017 00:03:45 +0000 (17:03 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 15 Sep 2017 00:03:45 +0000 (17:03 -0700)
Change-Id: I55457ed8cdca19bfdd22938dcd0ef590f47494f1
Issue-ID: INT-124
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
version-manifest/src/main/java/org/onap/integration/versionmanifest/VersionCheckMojo.java

index d6e5d4c..75da50f 100644 (file)
@@ -19,7 +19,6 @@ package org.onap.integration.versionmanifest;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.InputStreamReader;
-import java.net.MalformedURLException;
 import java.nio.charset.StandardCharsets;
 import java.util.Arrays;
 import java.util.HashMap;
@@ -88,9 +87,6 @@ public class VersionCheckMojo extends AbstractMojo {
                 log.debug("Expected version: " + groupId + ":" + artifactId + ":" + version);
                 expectedVersions.put(groupId + ":" + artifactId, version);
             }
-        } catch (MalformedURLException e) {
-            log.error(e);
-            throw new MojoExecutionException(e.getMessage());
         } catch (IOException e) {
             log.error(e);
             throw new MojoExecutionException(e.getMessage());