Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
eclipse-warnings: [mkdir] Created dir: /home/ubuntu/cassandra/build/ecj [echo] Running Eclipse Code Analysis. Output logged to /home/ubuntu/cassandra/build/ecj/eclipse_compiler_checks.txt [java] ---------- [java] 1. ERROR in /home/ubuntu/cassandra/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java (at line 59) [java] return new SSTableIdentityIterator(sstable, key, partitionLevelDeletion, file.getPath(), iterator); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] Potential resource leak: 'iterator' may not be closed at this location [java] ---------- [java] 2. ERROR in /home/ubuntu/cassandra/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java (at line 79) [java] return new SSTableIdentityIterator(sstable, key, partitionLevelDeletion, dfile.getPath(), iterator); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] Potential resource leak: 'iterator' may not be closed at this location [java] ---------- [java] 2 problems (2 errors)
Attachments
Issue Links
- relates to
-
CASSANDRA-14296 Fix eclipse-warnings introduced by 7544 parameter handling
- Resolved