move this back

This commit is contained in:
Taah 2022-05-04 05:20:29 -07:00
parent a24aa6a962
commit 7d0f3618c9
4 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
package dev.plex.toml;
package com.moandjiezana.toml;
import java.util.ArrayList;
import java.util.List;

View file

@ -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);

View file

@ -1,4 +1,4 @@
package dev.plex.toml;
package com.moandjiezana.toml;
import com.google.gson.Gson;
import com.google.gson.JsonElement;

View file

@ -1,4 +1,4 @@
package dev.plex.toml;
package com.moandjiezana.toml;
import java.util.concurrent.atomic.AtomicInteger;