From 7b3cb4721d4e2a28c494331a545c57db23bdf556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Sat, 6 Jul 2013 09:45:59 +0200 Subject: [PATCH] Issue #181 AS3 NewObject missing quotes in field name --- .../decompiler/flash/abc/avm2/treemodel/NameValuePair.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/abc/avm2/treemodel/NameValuePair.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/treemodel/NameValuePair.java index 847c1553a..05223e95c 100644 --- a/trunk/src/com/jpexs/decompiler/flash/abc/avm2/treemodel/NameValuePair.java +++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/treemodel/NameValuePair.java @@ -34,9 +34,6 @@ public class NameValuePair extends TreeItem { @Override public String toString(ConstantPool constants, HashMap localRegNames, List fullyQualifiedNames) { - if (name instanceof StringTreeItem) { - return ((StringTreeItem) name).value + ":" + value.toString(constants, localRegNames, fullyQualifiedNames); - } return name.toString(constants, localRegNames, fullyQualifiedNames) + ":" + value.toString(constants, localRegNames, fullyQualifiedNames); } }