From 43772dbf109500c49e5e4bd4b0fd5dffa19ed2e4 Mon Sep 17 00:00:00 2001 From: jdrueckert Date: Sat, 11 Nov 2023 12:50:44 +0100 Subject: [PATCH] chore: fix checkstyle NoWhitespaceBeforeCheck --- .../engine/rendering/dag/RenderGraph.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/engine/src/main/java/org/terasology/engine/rendering/dag/RenderGraph.java b/engine/src/main/java/org/terasology/engine/rendering/dag/RenderGraph.java index 1484fc7f039..12b697c3638 100644 --- a/engine/src/main/java/org/terasology/engine/rendering/dag/RenderGraph.java +++ b/engine/src/main/java/org/terasology/engine/rendering/dag/RenderGraph.java @@ -52,8 +52,8 @@ public void addNode(Node node) { } if (akaNodeMap.containsKey(nodeAka)) { Node aNode = akaNodeMap.get(nodeAka); - logger.info("Node {} also known as {} already matches existing node with uri {} - attempting replacing..." - , nodeUri, nodeAka, aNode.getUri()); + logger.info("Node {} also known as {} already matches existing node with uri {} - attempting replacing...", + nodeUri, nodeAka, aNode.getUri()); replaceNode(aNode, node); } else { nodeMap.put(nodeUri, node); @@ -275,8 +275,8 @@ private void connectFbo(Node toNode, int inputFboId, DependencyConnection fromCo } else { // if adding new input failed, it already existed - check for connections //TODO update - logger.info("{}.connectFbo({}, {}): Connection already existed. Testing for its connections.." - , toNode.getUri(), inputFboId, fromConnection.getName()); + logger.info("{}.connectFbo({}, {}): Connection already existed. Testing for its connections..", + toNode.getUri(), inputFboId, fromConnection.getName()); DependencyConnection localConnection = toNode.getInputFboConnection(inputFboId); // DependencyConnection localConnectionConnectedTo = localConnection.getConnectedConnections(); // if our input is connected @@ -339,8 +339,8 @@ private void connectBufferPair(Node toNode, int inputConnectionId, DependencyCon } else { // if adding new input failed, it already existed - check for connections //TODO update - logger.info("{}.connectFbo({}, {}): Connection already existed. Testing for its connections.." - , toNode.getUri(), inputConnectionId, fromConnection.getName()); + logger.info("{}.connectFbo({}, {}): Connection already existed. Testing for its connections..", + toNode.getUri(), inputConnectionId, fromConnection.getName()); DependencyConnection localConnection = toNode.getInputBufferPairConnection(inputConnectionId); // DependencyConnection localConnectionConnectedTo = localConnection.getConnectedConnections(); // if our input is connected @@ -538,8 +538,8 @@ private void reconnectInputToOutput(Node toNode, int inputId, DependencyConnecti fromNode = findNode(fromConnection.getParentNode()); if (!fromConnection.getConnectedConnections().isEmpty()) { - logger.warn("WARNING: destination connection ({}) is already connected to ({})" - , fromConnection, fromConnection.getConnectedConnections()); + logger.warn("WARNING: destination connection ({}) is already connected to ({})", + fromConnection, fromConnection.getConnectedConnections()); // TODO update the hashmap to string to be pretty // throw new RuntimeException("Could not reconnect, destination connection (" + fromConnection + ") is already connected to (" // + fromConnection.getConnectedConnections() + "). Remove connection first.");