diff options
Diffstat (limited to 'node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/editor/TextUtil.java')
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/editor/TextUtil.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/editor/TextUtil.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/editor/TextUtil.java index 81bf24822dd..410ccbfc880 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/editor/TextUtil.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/editor/TextUtil.java @@ -13,23 +13,6 @@ public class TextUtil { private TextUtil() {} /** - * Splits {@code text} by newline. - * - * @param text - * @param prune remove the last line if it is empty. Examples: - * {@code "" -> []}, - * {@code "foo\n" -> "foo"}, - * {@code "foo\n\n" -> ["foo", ""]}. If false, these would return - * {@code [""]}, - * {@code ["foo", ""]}, and - * {@code ["foo", "", ""]}, respectively. - * @see #splitString(String, boolean, boolean) - */ - public static List<String> splitString(String text, boolean prune) { - return splitString(text, prune, prune); - } - - /** * Splits {@code text} by newline (LF {@code '\n'}). * * @param text the text to split into lines |