3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-08 22:02:50 +02:00

Minor formatting change

Dieser Commit ist enthalten in:
KennyTV 2020-06-28 12:35:42 +02:00
Ursprung e386f7cf45
Commit b203db3ce5
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B

Datei anzeigen

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