From 4d6936429cacdb0fbd12414392d0e923da986c89 Mon Sep 17 00:00:00 2001 From: yuye-aws Date: Tue, 5 Mar 2024 17:08:24 +0800 Subject: [PATCH] remove unused function Signed-off-by: yuye-aws --- .../neuralsearch/processor/DocumentChunkingProcessor.java | 6 ------ 1 file changed, 6 deletions(-) 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;