提交 73141838 编写于 作者: 8 844392610

netadress toUpperCase beforehand

上级 97da4ac9
......@@ -206,6 +206,7 @@ public class AclUtils {
}
public static String expandIP(String netaddress, int part) {
netaddress = netaddress.toUpperCase();
// expand netaddress
int separatorCount = StringUtils.countMatches(netaddress, ":");
int padCount = part - separatorCount;
......@@ -233,7 +234,7 @@ public class AclUtils {
sb.append(":");
}
}
return sb.toString().toUpperCase();
return sb.toString();
}
public static <T> T getYamlDataObject(String path, Class<T> clazz) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册