aboutsummaryrefslogtreecommitdiffstats
path: root/version-manifest/src/main
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-14 17:03:45 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-09-14 17:03:45 -0700
commite14cfb55cf1d0a7b8bded66e5b834ee8922ecec8 (patch)
tree703a8ffd7ecccec2bde220960d2f76cd3d426932 /version-manifest/src/main
parent2aa21d0e72dcdf3b4c0fa3e5e52f87cd5ef421ef (diff)
Remove redundant catch block
Change-Id: I55457ed8cdca19bfdd22938dcd0ef590f47494f1 Issue-ID: INT-124 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'version-manifest/src/main')
-rw-r--r--version-manifest/src/main/java/org/onap/integration/versionmanifest/VersionCheckMojo.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/version-manifest/src/main/java/org/onap/integration/versionmanifest/VersionCheckMojo.java b/version-manifest/src/main/java/org/onap/integration/versionmanifest/VersionCheckMojo.java
index d6e5d4ca6..75da50ff0 100644
--- a/version-manifest/src/main/java/org/onap/integration/versionmanifest/VersionCheckMojo.java
+++ b/version-manifest/src/main/java/org/onap/integration/versionmanifest/VersionCheckMojo.java
@@ -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());