mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-29 22:16:00 +00:00
formatting & imports
This commit is contained in:
@@ -71,21 +71,19 @@ public class ActionGraph extends Graph {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void finalProcessStack(Stack<GraphTargetItem> stack,List<GraphTargetItem> output) {
|
||||
public void finalProcessStack(Stack<GraphTargetItem> stack, List<GraphTargetItem> output) {
|
||||
if (stack.size() > 0) {
|
||||
for (int i = stack.size() - 1; i >= 0; i--) {
|
||||
//System.err.println(stack.get(i));
|
||||
if (stack.get(i) instanceof FunctionTreeItem) {
|
||||
FunctionTreeItem f=(FunctionTreeItem)stack.remove(i);
|
||||
if(!output.contains(f)){
|
||||
FunctionTreeItem f = (FunctionTreeItem) stack.remove(i);
|
||||
if (!output.contains(f)) {
|
||||
output.add(0, f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
protected void finalProcess(List<GraphTargetItem> list, int level) {
|
||||
|
||||
Reference in New Issue
Block a user