Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10450

ContentPackage2FeatureModelConverter.java should implement Closeable

    XMLWordPrintableJSON

Details

    Description

      Forgetting to call cleanup on the ContentPackage2FeatureModelConverter leads to big dangling temp folders. To allow semantic code checks detect such failures, the class should implement Closeable and call cleanup in its close method.

      Look at https://github.com/adobe/aemanalyser-maven-plugin/issues/76 for a concrete issue caused by this.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: