You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:16:39 UTC
[sling-org-apache-sling-settings] 03/09: SLING-2673 - close fis
stream
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 <bd...@apache.org>
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
"commits@sling.apache.org" <co...@sling.apache.org>.