From 094b4aa9189ecfec0a06459d054cc1c588c153cf Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Sun, 13 Aug 2023 22:31:32 +0200 Subject: Make annotate public --- client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java b/client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java index 1ae7f5cdfde..7dd45153353 100644 --- a/client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java +++ b/client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java @@ -14,7 +14,7 @@ public class NearestNeighbor extends QueryChain { this.nonEmpty = true; } - NearestNeighbor annotate(Annotation annotation) { + public NearestNeighbor annotate(Annotation annotation) { this.annotation = annotation; return this; } -- cgit v1.2.3