Issue #45 Unicode character cannot save

Code formatting
This commit is contained in:
Jindra Pet��k
2013-03-30 16:43:26 +01:00
parent d3bd9b641d
commit be106cc34b
772 changed files with 84378 additions and 84353 deletions
@@ -22,32 +22,32 @@ import java.util.List;
public class DecrementTreeItem extends TreeItem {
public GraphTargetItem object;
public GraphTargetItem object;
public DecrementTreeItem(GraphSourceItem instruction, GraphTargetItem object) {
super(instruction, PRECEDENCE_ADDITIVE);
this.object = object;
}
public DecrementTreeItem(GraphSourceItem instruction, GraphTargetItem object) {
super(instruction, PRECEDENCE_ADDITIVE);
this.object = object;
}
@Override
public String toString(ConstantPool constants) {
return object.toString(constants) + hilight("-1");
}
@Override
public String toString(ConstantPool constants) {
return object.toString(constants) + hilight("-1");
}
@Override
public boolean isCompileTime() {
return object.isCompileTime();
}
@Override
public boolean isCompileTime() {
return object.isCompileTime();
}
@Override
public double toNumber() {
return object.toNumber() - 1;
}
@Override
public double toNumber() {
return object.toNumber() - 1;
}
@Override
public List<com.jpexs.decompiler.flash.graph.GraphSourceItemPos> getNeededSources() {
List<com.jpexs.decompiler.flash.graph.GraphSourceItemPos> ret = super.getNeededSources();
ret.addAll(object.getNeededSources());
return ret;
}
@Override
public List<com.jpexs.decompiler.flash.graph.GraphSourceItemPos> getNeededSources() {
List<com.jpexs.decompiler.flash.graph.GraphSourceItemPos> ret = super.getNeededSources();
ret.addAll(object.getNeededSources());
return ret;
}
}