Repository: cassandra
Updated Branches:
  refs/heads/trunk 5c67a7852 -> a7141e6c9


Suppress 2 eclipse-warnings

patch by Jay Zhuang; reviewed by Stefan Podkowinski for CASSANDRA-14061


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

Branch: refs/heads/trunk
Commit: a7141e6c9df03287567c22c76372e166fc83d18e
Parents: 5c67a78
Author: Jay Zhuang <jay.zhu...@yahoo.com>
Authored: Sun Nov 19 22:13:42 2017 -0800
Committer: Jay Zhuang <jay.zhu...@yahoo.com>
Committed: Thu Mar 8 15:32:46 2018 -0800

----------------------------------------------------------------------
 .../org/apache/cassandra/io/sstable/SSTableIdentityIterator.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a7141e6c/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java
----------------------------------------------------------------------
diff --git 
a/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java 
b/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java
index 3ade9ff..f9c6e82 100644
--- a/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java
+++ b/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java
@@ -49,6 +49,7 @@ public class SSTableIdentityIterator implements 
Comparable<SSTableIdentityIterat
         this.staticRow = iterator.readStaticRow();
     }
 
+    @SuppressWarnings("resource")
     public static SSTableIdentityIterator create(SSTableReader sstable, 
RandomAccessReader file, DecoratedKey key)
     {
         try
@@ -65,6 +66,7 @@ public class SSTableIdentityIterator implements 
Comparable<SSTableIdentityIterat
         }
     }
 
+    @SuppressWarnings("resource")
     public static SSTableIdentityIterator create(SSTableReader sstable, 
FileDataInput dfile, RowIndexEntry<?> indexEntry, DecoratedKey key, boolean 
tombstoneOnly)
     {
         try


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to