Invert GList order
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
46ce536703
commit
7395be2090
|
@ -26,9 +26,9 @@ public class GList {
|
|||
return res;
|
||||
}
|
||||
|
||||
public static <T> void write(JsonWriter writer, List<T> list, ThrowingBiConsumer<JsonWriter, T, IOException> write) throws IOException {
|
||||
public static <T> void write(JsonWriter writer, List<T> list, ThrowingBiConsumer<T, JsonWriter, IOException> write) throws IOException {
|
||||
writer.beginArray();
|
||||
for (T t : list) write.accept(writer, t);
|
||||
for (T t : list) write.accept(t, writer);
|
||||
writer.endArray();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue