aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2023-12-11 20:12:04 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2023-12-11 20:12:04 +0100
commita7c474dc4eedcbb249a7bc42f147511341b034f0 (patch)
tree4e53c4deda595c8f27ca4573c4b09cf797683311
parent147a1c19c1f7bfe8d0939618d3c8dc2bb4e59fb7 (diff)
Reformat source code.
Change-Id: Id80213366bfddcaa10cf88af70cb07c15e62d34f
-rw-r--r--jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java20
1 files changed, 9 insertions, 11 deletions
diff --git a/jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java b/jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java
index 2121cfb..60cef3e 100644
--- a/jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java
+++ b/jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java
@@ -4,14 +4,11 @@
package eu.mulk.jgvariant.core;
-import static java.lang.Math.max;
-import static java.nio.ByteOrder.BIG_ENDIAN;
-import static java.nio.ByteOrder.LITTLE_ENDIAN;
-import static java.nio.charset.StandardCharsets.UTF_8;
-import static java.util.Objects.requireNonNullElse;
-import static java.util.stream.Collectors.toMap;
-
import com.google.errorprone.annotations.Immutable;
+import org.apiguardian.api.API;
+import org.apiguardian.api.API.Status;
+import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
@@ -28,10 +25,11 @@ import java.util.function.Function;
import java.util.function.Predicate;
import java.util.function.UnaryOperator;
-import org.apiguardian.api.API;
-import org.apiguardian.api.API.Status;
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
+import static java.lang.Math.max;
+import static java.nio.ByteOrder.BIG_ENDIAN;
+import static java.nio.ByteOrder.LITTLE_ENDIAN;
+import static java.nio.charset.StandardCharsets.UTF_8;
+import static java.util.Objects.requireNonNullElse;
/**
* Type class for decodable types.