Add Copyright
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Dieser Commit ist enthalten in:
Chaoscaot 2023-01-15 20:46:11 +01:00
Ursprung ad43512d30
Commit a3f13737e4
2 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -85,7 +85,7 @@ public class NodeMember {
} }
public void setParentId(Integer parentId) { public void setParentId(Integer parentId) {
this.parentId = Optional.ofNullable(parentId).orElse(0) == 0 ? null : parentId; this.parentId = parentId == null || parentId == 0 ? null : parentId;
updateParent.update(this.parentId, nodeId, userId); updateParent.update(this.parentId, nodeId, userId);
} }
} }

Datei anzeigen

@ -24,8 +24,6 @@ import lombok.AccessLevel;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.time.Instant; import java.time.Instant;
import java.util.*; import java.util.*;
@ -38,7 +36,7 @@ public class SchematicNode {
new SqlTypeMapper<>(SchematicNode.class, null, (rs, identifier) -> { throw new SecurityException("SchematicNode cannot be used as type (recursive select)"); }, (st, index, value) -> st.setInt(index, value.nodeId)); new SqlTypeMapper<>(SchematicNode.class, null, (rs, identifier) -> { throw new SecurityException("SchematicNode cannot be used as type (recursive select)"); }, (st, index, value) -> st.setInt(index, value.nodeId));
} }
protected static final Map<Integer, Map<String, List<String>>> TAB_CACHE = new HashMap<>(); private static final Map<Integer, Map<String, List<String>>> TAB_CACHE = new HashMap<>();
public static void clear() { public static void clear() {
TAB_CACHE.clear(); TAB_CACHE.clear();
} }