feature/cleanup #2

Merged
manuel merged 4 commits from feature/cleanup into master 2023-04-04 02:11:10 +02:00
5 changed files with 17 additions and 5 deletions
Showing only changes of commit e1781dbdc4 - Show all commits

View file

@ -2,7 +2,11 @@ package ch.fritteli.labyrinth.generator.model;
import io.vavr.collection.Stream;
import io.vavr.control.Option;
import lombok.*;
import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NonNull;
import lombok.ToString;
import lombok.experimental.FieldDefaults;
import java.util.EnumSet;

View file

@ -5,7 +5,11 @@ import lombok.EqualsAndHashCode;
import lombok.NonNull;
import lombok.ToString;
import java.util.*;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
@EqualsAndHashCode
@ToString

View file

@ -6,7 +6,9 @@ import lombok.NonNull;
import java.io.ByteArrayInputStream;
import static ch.fritteli.labyrinth.generator.serialization.SerializerDeserializer.*;
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 LabyrinthInputStream extends ByteArrayInputStream {
public LabyrinthInputStream(@NonNull final byte[] buf) {

View file

@ -6,7 +6,9 @@ import lombok.NonNull;
import java.io.ByteArrayOutputStream;
import static ch.fritteli.labyrinth.generator.serialization.SerializerDeserializer.*;
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() {