diff --git a/src/main/java/ch/fritteli/labyrinth/generator/serialization/LabyrinthOutputStream.java b/src/main/java/ch/fritteli/labyrinth/generator/serialization/LabyrinthOutputStream.java index 1496c69..363a52b 100644 --- a/src/main/java/ch/fritteli/labyrinth/generator/serialization/LabyrinthOutputStream.java +++ b/src/main/java/ch/fritteli/labyrinth/generator/serialization/LabyrinthOutputStream.java @@ -6,15 +6,12 @@ import lombok.NonNull; 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 void writeHeader() { - this.writeByte(MAGIC_BYTE_1); - this.writeByte(MAGIC_BYTE_2); - this.writeByte(VERSION_BYTE); + this.writeByte(SerializerDeserializer.MAGIC_BYTE_1); + this.writeByte(SerializerDeserializer.MAGIC_BYTE_2); + this.writeByte(SerializerDeserializer.VERSION_BYTE); } public void writeByte(final byte value) {