cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bened...@apache.org
Subject cassandra git commit: ninja suppresswarnings
Date Fri, 12 Jun 2015 10:58:59 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 887bbc141 -> b1abcd048


ninja suppresswarnings


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

Branch: refs/heads/trunk
Commit: b1abcd048e3780f11256e455e6024dcf05887f71
Parents: 887bbc1
Author: Benedict Elliott Smith <benedict@apache.org>
Authored: Fri Jun 12 11:58:42 2015 +0100
Committer: Benedict Elliott Smith <benedict@apache.org>
Committed: Fri Jun 12 11:58:42 2015 +0100

----------------------------------------------------------------------
 src/java/org/apache/cassandra/io/util/RandomAccessReader.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b1abcd04/src/java/org/apache/cassandra/io/util/RandomAccessReader.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/util/RandomAccessReader.java b/src/java/org/apache/cassandra/io/util/RandomAccessReader.java
index fef206e..c4be8e9 100644
--- a/src/java/org/apache/cassandra/io/util/RandomAccessReader.java
+++ b/src/java/org/apache/cassandra/io/util/RandomAccessReader.java
@@ -76,6 +76,7 @@ public class RandomAccessReader extends AbstractDataInput implements FileDataInp
     // not have a shared channel.
     private static class RandomAccessReaderWithChannel extends RandomAccessReader
     {
+        @SuppressWarnings("resource")
         RandomAccessReaderWithChannel(File file)
         {
             super(new ChannelProxy(file), DEFAULT_BUFFER_SIZE, -1L, BufferType.OFF_HEAP);


Mime
View raw message