This commit is contained in:
parent
1c9ba87f9a
commit
80152e119c
1 changed files with 2 additions and 2 deletions
|
@ -147,9 +147,9 @@ public class RainbowDump {
|
|||
}
|
||||
|
||||
public static String formatDecHexString(long value){
|
||||
return String.format("%-20d 0x%x", value, value);
|
||||
return String.format("%1$-20d %1$#x", value);
|
||||
}
|
||||
public static String formatDecHexString(int value){
|
||||
return String.format("%-20d 0x%x", value, value);
|
||||
return String.format("%1$-20d %1$#x", value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue