This is an automated email from the ASF dual-hosted git repository.
jlewandowski pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new ece0c4a44c ninjafix - add missing "resource" suppression (blame
CASSANDRA-18134)
ece0c4a44c is described below
commit ece0c4a44c9209dc64240f3f33ca7a57d7548daa
Author: Jacek Lewandowski <[email protected]>
AuthorDate: Tue Feb 21 11:28:00 2023 +0100
ninjafix - add missing "resource" suppression (blame CASSANDRA-18134)
---
src/java/org/apache/cassandra/db/PartitionRangeReadCommand.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/java/org/apache/cassandra/db/PartitionRangeReadCommand.java
b/src/java/org/apache/cassandra/db/PartitionRangeReadCommand.java
index b3be264585..b01a79fcff 100644
--- a/src/java/org/apache/cassandra/db/PartitionRangeReadCommand.java
+++ b/src/java/org/apache/cassandra/db/PartitionRangeReadCommand.java
@@ -316,6 +316,7 @@ public class PartitionRangeReadCommand extends ReadCommand
implements PartitionR
}
@VisibleForTesting
+ @SuppressWarnings("resource")
public UnfilteredPartitionIterator queryStorage(final ColumnFamilyStore
cfs, ReadExecutionController controller)
{
ColumnFamilyStore.ViewFragment view =
cfs.select(View.selectLive(dataRange().keyRange()));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]