mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 15:40:53 +00:00
Fixed code style
This commit is contained in:
+4
-4
@@ -205,7 +205,7 @@ public class GraphPrecontinueDetector {
|
||||
for (Node n : node.next) {
|
||||
populateNodes(n, populated);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private boolean handleWhile(List<Node> headNodes) {
|
||||
Set<Node> visited = new HashSet<>();
|
||||
@@ -290,7 +290,7 @@ public class GraphPrecontinueDetector {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
private boolean joinNodes(List<Node> headNodes) {
|
||||
Set<Node> visited = new HashSet<>();
|
||||
Reference<Integer> numChanged = new Reference<>(0);
|
||||
@@ -354,7 +354,7 @@ public class GraphPrecontinueDetector {
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
private boolean checkIfs(List<Node> headNodes) {
|
||||
Set<Node> visited = new HashSet<>();
|
||||
Reference<Integer> numChanged = new Reference<>(0);
|
||||
@@ -364,7 +364,7 @@ public class GraphPrecontinueDetector {
|
||||
headNodes.set(h, newHeadNode);
|
||||
}
|
||||
return numChanged.getVal() > 0;
|
||||
}
|
||||
}
|
||||
|
||||
private Node checkIfs(Node node, Set<Node> visited, Reference<Integer> numIfs) {
|
||||
if (visited.contains(node)) {
|
||||
|
||||
Reference in New Issue
Block a user