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/03 09:14:00 UTC
[jira] [Resolved] (SLING-10450)
ContentPackage2FeatureModelConverter.java should implement Closeable
[ https://issues.apache.org/jira/browse/SLING-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved SLING-10450.
-------------------------------------
Resolution: Fixed
> 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
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: Content-Package to Feature Model Converter 1.1.6
>
>
> 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)