From 0b85f4a18fc810e71369213a91994564a99d4734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Sun, 30 Mar 2014 16:18:15 +0200 Subject: [PATCH] AS3 parser - namespaces, :: operator, etc. --- trunk/src/com/jpexs/decompiler/graph/GraphTargetItem.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/src/com/jpexs/decompiler/graph/GraphTargetItem.java b/trunk/src/com/jpexs/decompiler/graph/GraphTargetItem.java index 5f8ac24c5..8b06380be 100644 --- a/trunk/src/com/jpexs/decompiler/graph/GraphTargetItem.java +++ b/trunk/src/com/jpexs/decompiler/graph/GraphTargetItem.java @@ -225,7 +225,7 @@ public abstract class GraphTargetItem implements Serializable { protected List toSourceMerge(SourceGeneratorLocalData localData, SourceGenerator gen, Object... tar) { List ret = new ArrayList<>(); for (Object o : tar) { - if(o == null){ + if (o == null) { continue; } if (o instanceof GraphTargetItem) { @@ -240,7 +240,7 @@ public abstract class GraphTargetItem implements Serializable { if (o2 instanceof GraphSourceItem) { ret.add((GraphSourceItem) o2); } - if(o2 instanceof GraphTargetItem){ + if (o2 instanceof GraphTargetItem) { ret.addAll(((GraphTargetItem) o2).toSource(localData, gen)); } } @@ -258,6 +258,6 @@ public abstract class GraphTargetItem implements Serializable { } return ret; } - + public abstract GraphTargetItem returnType(); }