accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-1998 fix warning about an unclosed resource.
Date Tue, 21 Jan 2014 16:06:12 GMT
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT 5aec58678 -> 8cfdc1ffc


ACCUMULO-1998 fix warning about an unclosed resource.

Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/8cfdc1ff
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/8cfdc1ff
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/8cfdc1ff

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: 8cfdc1ffc4413f0712f7ecac1ba05f682e96d249
Parents: 5aec586
Author: Eric Newton <eric.newton@gmail.com>
Authored: Tue Jan 21 11:05:39 2014 -0500
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Tue Jan 21 11:05:39 2014 -0500

----------------------------------------------------------------------
 .../apache/accumulo/core/security/crypto/BlockedIOStreamTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/8cfdc1ff/core/src/test/java/org/apache/accumulo/core/security/crypto/BlockedIOStreamTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/accumulo/core/security/crypto/BlockedIOStreamTest.java
b/core/src/test/java/org/apache/accumulo/core/security/crypto/BlockedIOStreamTest.java
index 6fb52dd..b344fc3 100644
--- a/core/src/test/java/org/apache/accumulo/core/security/crypto/BlockedIOStreamTest.java
+++ b/core/src/test/java/org/apache/accumulo/core/security/crypto/BlockedIOStreamTest.java
@@ -112,7 +112,7 @@ public class BlockedIOStreamTest {
     blockOut.write(filler);
     blockOut.flush();
     
-    baos.close();
+    blockOut.close();
     assertEquals(16*8, baos.toByteArray().length);
   }
 }


Mime
View raw message