Fix compile issues with lombok.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Manuel Friedli 2023-04-04 02:08:35 +02:00
parent 2275651cc1
commit 27b534313d
Signed by: manuel
GPG key ID: 41D08ABA75634DA1

View file

@ -6,15 +6,12 @@ import lombok.NonNull;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import static ch.fritteli.labyrinth.generator.serialization.SerializerDeserializer.MAGIC_BYTE_1;
import static ch.fritteli.labyrinth.generator.serialization.SerializerDeserializer.MAGIC_BYTE_2;
import static ch.fritteli.labyrinth.generator.serialization.SerializerDeserializer.VERSION_BYTE;
public class LabyrinthOutputStream extends ByteArrayOutputStream { public class LabyrinthOutputStream extends ByteArrayOutputStream {
public void writeHeader() { public void writeHeader() {
this.writeByte(MAGIC_BYTE_1); this.writeByte(SerializerDeserializer.MAGIC_BYTE_1);
this.writeByte(MAGIC_BYTE_2); this.writeByte(SerializerDeserializer.MAGIC_BYTE_2);
this.writeByte(VERSION_BYTE); this.writeByte(SerializerDeserializer.VERSION_BYTE);
} }
public void writeByte(final byte value) { public void writeByte(final byte value) {