This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.settings-1.2.2 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-settings.git
commit 1cb079146ff8e82280756dbc8bb75ec463b0336c Author: Bertrand Delacretaz <[email protected]> AuthorDate: Thu Nov 22 13:51:14 2012 +0000 SLING-2673 - close fis stream git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/settings@1412552 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/sling/settings/impl/SlingSettingsServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/sling/settings/impl/SlingSettingsServiceImpl.java b/src/main/java/org/apache/sling/settings/impl/SlingSettingsServiceImpl.java index 89c2588..7447681 100644 --- a/src/main/java/org/apache/sling/settings/impl/SlingSettingsServiceImpl.java +++ b/src/main/java/org/apache/sling/settings/impl/SlingSettingsServiceImpl.java @@ -212,8 +212,8 @@ public class SlingSettingsServiceImpl if ( ois != null ) { try { ois.close(); } catch ( final IOException ignore) {} } - if ( ois != null ) { - try { ois.close(); } catch ( final IOException ignore) {} + if ( fis != null ) { + try { fis.close(); } catch ( final IOException ignore) {} } } if ( optionsList != null ) { -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
