Dieser Commit ist enthalten in:
Ursprung
ad43512d30
Commit
a3f13737e4
@ -85,7 +85,7 @@ public class NodeMember {
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
@ -24,8 +24,6 @@ import lombok.AccessLevel;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.PrintStream;
|
||||
import java.sql.Timestamp;
|
||||
import java.time.Instant;
|
||||
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));
|
||||
}
|
||||
|
||||
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() {
|
||||
TAB_CACHE.clear();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren