diff options
Diffstat (limited to 'csarvalidation/src')
-rw-r--r-- | csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java b/csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java index 8b6be13..bd5646c 100644 --- a/csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java +++ b/csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java @@ -114,20 +114,19 @@ public class CsarValidator { LOG.error("CSAR %s contents are not a valid! "); return false; } - return true; } catch (FileNotFoundException e1) { LOG.error("CSAR %s is not a valid CSAR/ZIP file! ", e1); return false; } finally { raf.close(); - return true; } } catch (IOException e1) { LOG.error("CSAR %s is not a valid CSAR/ZIP file! ", e1); return false; } + return true; } /** |