@Test public void checkNormalWithCommaColon() { ConfigValueHelper.checkNormalWithCommaColon("aaa", "123abc-_.,:"); try { ConfigValueHelper.checkNormalWithCommaColon("aaa", "123abc-_.,:!"); Assert.fail(); } catch (Exception e) { Assert.assertTrue(e.getMessage().contains("aaa")); } }
protected static void checkNormalWithCommaColon(String configKey, String configValue) throws SofaRpcRuntimeException { checkPattern(configKey, configValue, NORMAL_COMMA_COLON, "only allow a-zA-Z0-9 '-' '_' '.' ':' ','"); }
ConfigValueHelper { protected static void checkNormalWithCommaColon(String configKey, String configValue) throws SofaRpcRuntimeException { checkPattern(configKey, configValue, NORMAL_COMMA_COLON, "only allow a-zA-Z0-9 '-' '_' '.' ':' ','"); } }
ConfigValueHelper { protected static void checkNormalWithCommaColon(String configKey, String configValue) throws SofaRpcRuntimeException { checkPattern(configKey, configValue, NORMAL_COMMA_COLON, "only allow a-zA-Z0-9 '-' '_' '.' ':' ','"); }  }
ConfigValueHelper { protected static void checkNormalWithCommaColon(String configKey, String configValue) throws SofaRpcRuntimeException { checkPattern(configKey, configValue, NORMAL_COMMA_COLON, "only allow a-zA-Z0-9 '-' '_' '.' ':' ','"); }   }
ConfigValueHelper { protected static void checkNormalWithCommaColon(String configKey, String configValue) throws SofaRpcRuntimeException { checkPattern(configKey, configValue, NORMAL_COMMA_COLON, "only allow a-zA-Z0-9 '-' '_' '.' ':' ','"); }    }