mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 14:41:01 +00:00
#489 Hex decode very large integers
This commit is contained in:
+3
-3
@@ -149,19 +149,19 @@ public class DirectValueActionItem extends ActionItem implements SimpleValue {
|
||||
public String toStringNoH(ConstantPool constants) {
|
||||
if (value instanceof Double) {
|
||||
if (Double.compare((double) (Double) value, 0) == 0) {
|
||||
return ("0");
|
||||
return "0";
|
||||
}
|
||||
}
|
||||
if (value instanceof Float) {
|
||||
if (Float.compare((float) (Float) value, 0) == 0) {
|
||||
return ("0");
|
||||
return "0";
|
||||
}
|
||||
}
|
||||
if (value instanceof String) {
|
||||
return (String) value;
|
||||
}
|
||||
if (value instanceof ConstantIndex) {
|
||||
return (this.constants.get(((ConstantIndex) value).index));
|
||||
return this.constants.get(((ConstantIndex) value).index);
|
||||
}
|
||||
return value.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user