Rename the printLongAsHex and printIntAsHex methods in IndentingWriter for clarity

This commit is contained in:
Ben Gruver
2011-07-15 13:29:16 -04:00
parent f119fc6db5
commit 74c14ffcca
12 changed files with 30 additions and 30 deletions

View File

@ -148,7 +148,7 @@ public class IndentingWriter extends Writer {
//}
}
public void printLongAsHex(long value) throws IOException {
public void printUnsignedLongAsHex(long value) throws IOException {
int bufferIndex = 0;
do {
int digit = (int)(value & 15);
@ -166,7 +166,7 @@ public class IndentingWriter extends Writer {
}
}
public void printIntAsDec(int value) throws IOException {
public void printSignedIntAsDec(int value) throws IOException {
int bufferIndex = 0;
if (value < 0) {