Skip to content

Commit f419efe

Browse files
committed
chore: fix javadoc
1 parent bb7f0dd commit f419efe

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/it/java/io/weaviate/integration/SearchITest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void testNearVector_groupBy() {
102102
/**
103103
* Insert 10 objects with random vectors.
104104
*
105-
* @returns IDs of inserted objects and their corresponding vectors.
105+
* @return IDs of inserted objects and their corresponding vectors.
106106
*/
107107
private static Map<String, float[]> populateTest(int n) throws IOException {
108108
var created = new HashMap<String, float[]>();

src/main/java/io/weaviate/client6/v1/api/collections/Vectors.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public Vectors build() {
102102
/**
103103
* Get 1-dimensional vector by name.
104104
*
105-
* @returns Vector as {@code float[]} or {@code null}.
105+
* @return Vector as {@code float[]} or {@code null}.
106106
* @throws ClassCastException The underlying vector is not a {@code float[]}.
107107
*/
108108
public float[] getSingle(String name) {
@@ -112,7 +112,7 @@ public float[] getSingle(String name) {
112112
/**
113113
* Get default 1-dimensional vector.
114114
*
115-
* @returns Vector as {@code float[]} or {@code null}.
115+
* @return Vector as {@code float[]} or {@code null}.
116116
* @throws ClassCastException if the underlying object is not a {@code float[]}.
117117
*/
118118
public float[] getDefaultSingle() {
@@ -122,7 +122,7 @@ public float[] getDefaultSingle() {
122122
/**
123123
* Get 2-dimensional vector by name.
124124
*
125-
* @returns Vector as {@code float[][]} or {@code null}.
125+
* @return Vector as {@code float[][]} or {@code null}.
126126
* @throws ClassCastException if the underlying object is not a
127127
* {@code float[][]}.
128128
*/
@@ -133,7 +133,7 @@ public float[][] getMulti(String name) {
133133
/**
134134
* Get default 2-dimensional vector.
135135
*
136-
* @returns Vector as {@code float[][]} or {@code null}.
136+
* @return Vector as {@code float[][]} or {@code null}.
137137
* @throws ClassCastException if the underlying object is not a
138138
* {@code float[][]}.
139139
*/
@@ -146,7 +146,7 @@ public float[][] getDefaultMulti() {
146146
* Each element is either a {@code float[]} or a {@code float[][]}.
147147
*
148148
*
149-
* @returns Map of name-vector pairs. The returned map is immutable.
149+
* @return Map of name-vector pairs. The returned map is immutable.
150150
*/
151151
public Map<String, Object> asMap() {
152152
return Map.copyOf(namedVectors);

0 commit comments

Comments
 (0)