This commit is contained in:
Luke Taylor 2008-01-21 09:33:49 +00:00
parent 8694028b13
commit 437c6fb7b7
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ public final class AclFormattingUtils {
* @return a 32-character representation of the bit mask * @return a 32-character representation of the bit mask
*/ */
public static String printBinary(int i) { public static String printBinary(int i) {
return AclFormattingUtils.printBinary(i, '*', Permission.RESERVED_OFF); return printBinary(i, '*', Permission.RESERVED_OFF);
} }
/** /**
@ -104,7 +104,7 @@ public final class AclFormattingUtils {
Assert.doesNotContain(new Character(code).toString(), new Character(Permission.RESERVED_OFF).toString(), Assert.doesNotContain(new Character(code).toString(), new Character(Permission.RESERVED_OFF).toString(),
Permission.RESERVED_OFF + " is a reserved character code"); Permission.RESERVED_OFF + " is a reserved character code");
return AclFormattingUtils.printBinary(mask, Permission.RESERVED_ON, Permission.RESERVED_OFF) return printBinary(mask, Permission.RESERVED_ON, Permission.RESERVED_OFF)
.replace(Permission.RESERVED_ON, code); .replace(Permission.RESERVED_ON, code);
} }
} }