Luke Taylor 17 年之前
父節點
當前提交
437c6fb7b7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/src/main/java/org/springframework/security/acls/AclFormattingUtils.java

+ 2 - 2
core/src/main/java/org/springframework/security/acls/AclFormattingUtils.java

@@ -86,7 +86,7 @@ public final class AclFormattingUtils {
      * @return a 32-character representation of the bit mask
      */
     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(),
             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);
     }
 }