@Test public void isAsteriskTest() { boolean isAsterisk = AclUtils.isAsterisk("*"); Assert.assertTrue(isAsterisk); isAsterisk = AclUtils.isAsterisk(","); Assert.assertFalse(isAsterisk); }
public static boolean isAsterisk(String asterisk) { return asterisk.indexOf('*') > -1; }
AclUtils { public static boolean isAsterisk(String asterisk) { return asterisk.indexOf('*') > -1; } }
AclUtils { public static boolean isAsterisk(String asterisk) { return asterisk.indexOf('*') > -1; }  }
AclUtils { public static boolean isAsterisk(String asterisk) { return asterisk.indexOf('*') > -1; }  static byte[] combineRequestContent(RemotingCommand request, SortedMap<String, String> fieldsMap); static byte[] combineBytes(byte[] b1, byte[] b2); static String calSignature(byte[] data, String secretKey); static void verify(String netaddress, int index); static String[] getAddreeStrArray(String netaddress, String four); static boolean isScope(String num, int index); static boolean isScope(String[] num, int index); static boolean isScope(String num); static boolean isScope(int num); static boolean isAsterisk(String asterisk); static boolean isColon(String colon); static boolean isMinus(String minus); static T getYamlDataObject(String path, Class<T> clazz); static RPCHook getAclRPCHook(String fileName); }
AclUtils { public static boolean isAsterisk(String asterisk) { return asterisk.indexOf('*') > -1; }  static byte[] combineRequestContent(RemotingCommand request, SortedMap<String, String> fieldsMap); static byte[] combineBytes(byte[] b1, byte[] b2); static String calSignature(byte[] data, String secretKey); static void verify(String netaddress, int index); static String[] getAddreeStrArray(String netaddress, String four); static boolean isScope(String num, int index); static boolean isScope(String[] num, int index); static boolean isScope(String num); static boolean isScope(int num); static boolean isAsterisk(String asterisk); static boolean isColon(String colon); static boolean isMinus(String minus); static T getYamlDataObject(String path, Class<T> clazz); static RPCHook getAclRPCHook(String fileName);  }