jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r654079 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
Date Wed, 07 May 2008 12:13:22 GMT
Author: jukka
Date: Wed May  7 05:13:21 2008
New Revision: 654079

URL: http://svn.apache.org/viewvc?rev=654079&view=rev
Log:
JCR-1575: [PATCH] cleanup unwanted stream closing that isn't used
    - Patch by Dave Brosius

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java?rev=654079&r1=654078&r2=654079&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
Wed May  7 05:13:21 2008
@@ -1131,7 +1131,6 @@
     protected synchronized NodePropBundle loadBundle(NodeId id, boolean checkBeforeLoading)
             throws ItemStateException {
         ResultSet rs = null;
-        InputStream in = null;
         try {
             Statement stmt = connectionManager.executeStmt(bundleSelectSQL, getKey(id.getUUID()));
             rs = stmt.getResultSet();
@@ -1160,7 +1159,6 @@
             log.error(msg);
             throw new ItemStateException(msg, e);
         } finally {
-            IOUtils.closeQuietly(in);
             closeResultSet(rs);
         }
     }



Mime
View raw message