Skip to content

Commit 01a5be0

Browse files
committed
Checkstyle
1 parent 6f6097d commit 01a5be0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/index/codec/vectors/es819/hnsw/AbstractHnswGraphSearcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ abstract class AbstractHnswGraphSearcher {
4444
* @param graph the HNSWGraph
4545
* @param acceptOrds the ordinals to accept for the results
4646
*/
47-
abstract void searchLevel(KnnCollector results, RandomVectorScorer scorer, int level, final int[] eps, HnswGraph graph, Bits acceptOrds)
47+
abstract void searchLevel(KnnCollector results, RandomVectorScorer scorer, int level, int[] eps, HnswGraph graph, Bits acceptOrds)
4848
throws IOException;
4949

5050
/**

server/src/main/java/org/elasticsearch/index/codec/vectors/es819/hnsw/HnswGraphBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ private boolean connectComponents(int level) throws IOException {
517517
infoStream.message(HNSW_COMPONENT, "connected ok " + c0node + " -> " + c.start());
518518
}
519519
}
520-
if (!linked) {
520+
if (linked == false) {
521521
if (infoStream.isEnabled(HNSW_COMPONENT)) {
522522
infoStream.message(HNSW_COMPONENT, "not connected; no free nodes found");
523523
}

0 commit comments

Comments
 (0)