Skip to content

Commit 1d77985

Browse files
committed
Suppress Warnings "PMD.CloseResource"
1 parent 2bdf242 commit 1d77985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneIndexScrubbingToolsMissing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private CompletableFuture<Pair<MissingIndexReason, Tuple>> checkMissingIndexKey(
180180
});
181181
}
182182

183-
183+
@SuppressWarnings("PMD.CloseResource")
184184
private boolean isMissingIndexKey(FDBStoredRecord<Message> rec, Integer partitionId, Tuple groupingKey) {
185185
@Nullable final LucenePrimaryKeySegmentIndex segmentIndex = directoryManager.getDirectory(groupingKey, partitionId).getPrimaryKeySegmentIndex();
186186
if (segmentIndex == null) {

0 commit comments

Comments
 (0)