You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/06/02 16:17:00 UTC
[jira] [Created] (SLING-10450)
ContentPackage2FeatureModelConverter.java should implement Closeable
Konrad Windszus created SLING-10450:
---------------------------------------
Summary: ContentPackage2FeatureModelConverter.java should implement Closeable
Key: SLING-10450
URL: https://issues.apache.org/jira/browse/SLING-10450
Project: Sling
Issue Type: Improvement
Components: Content-Package to Feature Model Converter
Reporter: Konrad Windszus
Fix For: Content-Package to Feature Model Converter 1.1.4
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)