From b203db3ce577fcb152425a02da6a74cea05323f3 Mon Sep 17 00:00:00 2001 From: KennyTV Date: Sun, 28 Jun 2020 12:35:42 +0200 Subject: [PATCH] Minor formatting change --- .../myles/ViaVersion/api/minecraft/nbt/BinaryTagIO.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/api/minecraft/nbt/BinaryTagIO.java b/common/src/main/java/us/myles/ViaVersion/api/minecraft/nbt/BinaryTagIO.java index 296d7ace6..7c7a4aba5 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/minecraft/nbt/BinaryTagIO.java +++ b/common/src/main/java/us/myles/ViaVersion/api/minecraft/nbt/BinaryTagIO.java @@ -42,8 +42,8 @@ public final class BinaryTagIO { * @return the compound tag * @throws IOException if an exception was encountered while reading a compound tag */ - public static @NotNull - CompoundTag readString(final @NotNull String input) throws IOException { + @NotNull + public static CompoundTag readString(final @NotNull String input) throws IOException { try { final CharBuffer buffer = new CharBuffer(input); final TagStringReader parser = new TagStringReader(buffer); @@ -64,8 +64,8 @@ public final class BinaryTagIO { * @return the string * @throws IOException if an exception was encountered while writing the compound tag */ - public static @NotNull - String writeString(final @NotNull CompoundTag tag) throws IOException { + @NotNull + public static String writeString(final @NotNull CompoundTag tag) throws IOException { final StringBuilder sb = new StringBuilder(); try (final TagStringWriter emit = new TagStringWriter(sb)) { emit.writeTag(tag);