The @Nullable is not applicable for the primitive type void

This commit is contained in:
Christian Tzolov
2025-01-25 19:41:36 +01:00
parent 5503d41801
commit e7d6413411

View File

@@ -18,7 +18,6 @@ package org.springframework.ai.vectorstore.observation;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import io.micrometer.observation.ObservationRegistry;
@@ -150,7 +149,6 @@ public abstract class AbstractObservationVectorStore implements VectorStore {
* logic.
* @param filterExpression Filter expression to identify documents to delete
*/
@Nullable
protected void doDelete(Filter.Expression filterExpression) {
// this is temporary until we implement this method in all concrete vector stores,
// at which point