diff options
Diffstat (limited to 'Essentials/src/net/ess3/utils/textreader/SimpleTextInput.java')
-rw-r--r-- | Essentials/src/net/ess3/utils/textreader/SimpleTextInput.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Essentials/src/net/ess3/utils/textreader/SimpleTextInput.java b/Essentials/src/net/ess3/utils/textreader/SimpleTextInput.java index f79e851be..03405df29 100644 --- a/Essentials/src/net/ess3/utils/textreader/SimpleTextInput.java +++ b/Essentials/src/net/ess3/utils/textreader/SimpleTextInput.java @@ -1,16 +1,20 @@ package net.ess3.utils.textreader; -import java.util.*; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Map; public class SimpleTextInput implements IText { private final transient List<String> lines = new ArrayList<String>(); - - public SimpleTextInput (final String input) { + + public SimpleTextInput(final String input) + { lines.add(input); } - + @Override public List<String> getLines() { @@ -28,5 +32,5 @@ public class SimpleTextInput implements IText { return Collections.emptyMap(); } - + } |