Skip to content

Commit 0dea546

Browse files
committed
refactor: remove redundant override
1 parent a5ed69d commit 0dea546

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/main/java/io/weaviate/client6/v1/api/collections/query

src/main/java/io/weaviate/client6/v1/api/collections/query/Target.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ static TextTarget text(String vectorName, float weight, String... text) {
217217
* Weight to be applied to the vector distance. Used for text-based
218218
* queries where only a single input is allowed.
219219
*/
220-
record VectorWeight(String vectorName, Float weight) implements Target {
221-
@Override
220+
record VectorWeight(String vectorName, Float weight) {
222221
public boolean appendTargets(WeaviateProtoBaseSearch.Targets.Builder req) {
223222
if (vectorName == null) {
224223
return false;

0 commit comments

Comments
 (0)