Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-886

ZipOutputStream need to be closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Amsterdam Release
    • SDC
    • None
    • SDC Sprint 10

      In the following classes there are 2 methods that handle ZipOutputStream without closing it.

      common-app-api/src/main/java/org/openecomp/sdc/common/util/ZipUtil.java

      openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/util/ZipUtils.java

      Need to surround relevant block of code with "try with resources".

            tgitelman tgitelman
            ya107f ya107f
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: