Skip to content

Commit 956e604

Browse files
Fix order of getter and setter methods in Weaviate vector store properties (#3582)
Auto-cherry-pick to 1.0.x Fixes #3582 Signed-off-by: jonghoonpark <dev@jonghoonpark.com>
1 parent 9682702 commit 956e604

File tree

1 file changed

+4
-4
lines changed
  • auto-configurations/vector-stores/spring-ai-autoconfigure-vector-store-weaviate/src/main/java/org/springframework/ai/vectorstore/weaviate/autoconfigure

1 file changed

+4
-4
lines changed

auto-configurations/vector-stores/spring-ai-autoconfigure-vector-store-weaviate/src/main/java/org/springframework/ai/vectorstore/weaviate/autoconfigure/WeaviateVectorStoreProperties.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ public String getObjectClass() {
8181
return this.objectClass;
8282
}
8383

84+
public void setObjectClass(String indexName) {
85+
this.objectClass = indexName;
86+
}
87+
8488
/**
8589
* @since 1.1.0
8690
*/
@@ -95,10 +99,6 @@ public void setContentFieldName(String contentFieldName) {
9599
this.contentFieldName = contentFieldName;
96100
}
97101

98-
public void setObjectClass(String indexName) {
99-
this.objectClass = indexName;
100-
}
101-
102102
public ConsistentLevel getConsistencyLevel() {
103103
return this.consistencyLevel;
104104
}

0 commit comments

Comments
 (0)