mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 20:04:37 +00:00
Issue #181 AS3 NewObject missing quotes in field name
This commit is contained in:
@@ -34,9 +34,6 @@ public class NameValuePair extends TreeItem {
|
||||
|
||||
@Override
|
||||
public String toString(ConstantPool constants, HashMap<Integer, String> localRegNames, List<String> 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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user