mirror of
https://github.com/plexusorg/toml4j.git
synced 2024-05-16 17:41:35 +00:00
Remove unused code
This commit is contained in:
parent
fa591a0f0c
commit
7d5e429e12
|
@ -149,8 +149,4 @@ public class TomlWriter {
|
|||
WriterContext context = new WriterContext(indentationPolicy, datePolicy, target);
|
||||
WRITERS.write(from, context);
|
||||
}
|
||||
|
||||
WriterIndentationPolicy getIndentationPolicy() {
|
||||
return indentationPolicy;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ class WriterContext {
|
|||
WriterContext write(String s) {
|
||||
try {
|
||||
output.write(s);
|
||||
if (s != null && !s.isEmpty()) {
|
||||
if (empty && !s.isEmpty()) {
|
||||
empty = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue