mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-28 02:54:17 +00:00
move this back
This commit is contained in:
parent
a24aa6a962
commit
7d0f3618c9
4 changed files with 9 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
package dev.plex.toml;
|
||||
package com.moandjiezana.toml;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,12 +1,12 @@
|
|||
package dev.plex.toml;
|
||||
package com.moandjiezana.toml;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import static dev.plex.toml.ValueWriters.WRITERS;
|
||||
import static com.moandjiezana.toml.ValueWriters.WRITERS;
|
||||
|
||||
class TableArrayValueWriter extends dev.plex.toml.ArrayValueWriter
|
||||
class TableArrayValueWriter extends ArrayValueWriter
|
||||
{
|
||||
static final dev.plex.toml.ValueWriter TABLE_ARRAY_VALUE_WRITER = new TableArrayValueWriter();
|
||||
static final ValueWriter TABLE_ARRAY_VALUE_WRITER = new TableArrayValueWriter();
|
||||
|
||||
@Override
|
||||
public boolean canWrite(Object value) {
|
||||
|
@ -14,10 +14,10 @@ class TableArrayValueWriter extends dev.plex.toml.ArrayValueWriter
|
|||
}
|
||||
|
||||
@Override
|
||||
public void write(Object from, dev.plex.toml.WriterContext context) {
|
||||
public void write(Object from, WriterContext context) {
|
||||
Collection<?> values = normalize(from);
|
||||
|
||||
dev.plex.toml.WriterContext subContext = context.pushTableFromArray();
|
||||
WriterContext subContext = context.pushTableFromArray();
|
||||
|
||||
for (Object value : values) {
|
||||
WRITERS.findWriterFor(value).write(value, subContext);
|
|
@ -1,4 +1,4 @@
|
|||
package dev.plex.toml;
|
||||
package com.moandjiezana.toml;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonElement;
|
|
@ -1,4 +1,4 @@
|
|||
package dev.plex.toml;
|
||||
package com.moandjiezana.toml;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
Loading…
Reference in a new issue