@Test public void checkKey() throws Exception { try { AbstractConfig.checkKey("hello", "*,-0123abcdABCD"); } catch (Exception e) { TestCase.fail("the value should be legal."); } }
protected static void checkKey(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_KEY); }
AbstractConfig implements Serializable { protected static void checkKey(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_KEY); } }
AbstractConfig implements Serializable { protected static void checkKey(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_KEY); }  }
AbstractConfig implements Serializable { protected static void checkKey(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_KEY); }  @Parameter(excluded = true) String getId(); void setId(String id); @Override String toString(); }
AbstractConfig implements Serializable { protected static void checkKey(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_KEY); }  @Parameter(excluded = true) String getId(); void setId(String id); @Override String toString();  }