Skip to content

Commit

Permalink
Suppress misleading PMD
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpaxton committed Nov 11, 2024
1 parent 0ae99e8 commit 1b6f9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/main/java/org/rocksdb/RocksDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ public void closeE() throws RocksDBException {
* <p>
* See also {@link #close()}.
*/
@SuppressWarnings("PMD.EmptyCatchBlock")
@SuppressWarnings("PMD.EmptyCatchBlock","PMD.CloseResource")
@Override
public void close() {
final List<RocksIterator> removeIterators = new ArrayList<>(ownedIterators);
Expand Down

0 comments on commit 1b6f9ff

Please sign in to comment.