Skip to content

Commit

Permalink
Correct declaration of multiple PMD suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpaxton committed Nov 19, 2024
1 parent e7cd341 commit 4603e58
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","PMD.CloseResource")
@SuppressWarnings({"PMD.EmptyCatchBlock", "PMD.CloseResource"})
@Override
public void close() {
final List<RocksIterator> removeIterators = new ArrayList<>(ownedIterators);
Expand Down

0 comments on commit 4603e58

Please sign in to comment.