refactor(java-oracle): English local names

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 19:49:40 +00:00
co-authored by Claude Opus 5.5
parent 5dcad6e2bf
commit 77feeabf39
+6 -6
View File
@@ -132,10 +132,10 @@ public class FlsOracle {
if (nic.getPort() != null) portOwners.put(nic.getPort(), new int[] { nodeIndex, index });
}
} else if (node instanceof LokalerKnoten local) {
List<Port> anschluesse = local.getAnschluesse();
for (int index = 0; index < anschluesse.size(); index++) {
List<Port> attachedPorts = local.getAnschluesse();
for (int index = 0; index < attachedPorts.size(); index++) {
ports.add(Map.of());
portOwners.put(anschluesse.get(index), new int[] { nodeIndex, index });
portOwners.put(attachedPorts.get(index), new int[] { nodeIndex, index });
}
}
json.put("ports", ports);
@@ -147,9 +147,9 @@ public class FlsOracle {
Kabel cable = item.getDasKabel();
Map<String, Object> json = new LinkedHashMap<>();
List<Object> ends = new ArrayList<>();
Port[] anschluesse = cable == null ? null : cable.getAnschluesse();
if (anschluesse != null) {
for (Port port : anschluesse) {
Port[] cablePorts = cable == null ? null : cable.getAnschluesse();
if (cablePorts != null) {
for (Port port : cablePorts) {
int[] owner = port == null ? null : portOwners.get(port);
ends.add(owner == null ? null : List.of(owner[0], owner[1]));
}