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