Skip to content

Commit 0977636

Browse files
committed
Apply mvn javaformat
Signed-off-by: WOONBE <[email protected]>
1 parent fb83ac6 commit 0977636

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

vector-stores/spring-ai-qdrant-store/src/test/java/org/springframework/ai/vectorstore/qdrant/QdrantObjectFactoryTests.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ class QdrantObjectFactoryTests {
3434

3535
@Test
3636
void toObjectMapShouldHandleNullValues() {
37-
Map<String, Value> payloadWithNull = Map.of(
38-
"name", Value.newBuilder().setStringValue("Spring AI").build(),
39-
"version", Value.newBuilder().setDoubleValue(1.0).build(),
40-
"is_ga", Value.newBuilder().setBoolValue(true).build(),
41-
"description", Value.newBuilder().setNullValue(NullValue.NULL_VALUE).build()
42-
);
37+
Map<String, Value> payloadWithNull = Map.of("name", Value.newBuilder().setStringValue("Spring AI").build(),
38+
"version", Value.newBuilder().setDoubleValue(1.0).build(), "is_ga",
39+
Value.newBuilder().setBoolValue(true).build(), "description",
40+
Value.newBuilder().setNullValue(NullValue.NULL_VALUE).build());
4341

4442
Map<String, Object> result = QdrantObjectFactory.toObjectMap(payloadWithNull);
4543

46-
4744
assertThat(result).isNotNull();
4845
assertThat(result).hasSize(4);
4946
assertThat(result.get("name")).isEqualTo("Spring AI");

0 commit comments

Comments
 (0)