diff --git a/src/main/java/org/opensearch/neuralsearch/processor/DocumentChunkingProcessor.java b/src/main/java/org/opensearch/neuralsearch/processor/DocumentChunkingProcessor.java index 8f151c20a..37d853018 100644 --- a/src/main/java/org/opensearch/neuralsearch/processor/DocumentChunkingProcessor.java +++ b/src/main/java/org/opensearch/neuralsearch/processor/DocumentChunkingProcessor.java @@ -167,12 +167,6 @@ public void doExecute( } } - private static List stringToList(String string) { - List list = new ArrayList<>(); - list.add(string); - return list; - } - public static class Factory implements Processor.Factory { private final Settings settings;