fix some nonconformity after checkstyle

This commit is contained in:
chenrl
2021-04-30 14:19:39 +08:00
parent f77d7fee68
commit e14f66ea77
3 changed files with 5 additions and 5 deletions
@@ -34,7 +34,7 @@ public class NameServerAddressUtils {
if (StringUtils.isEmpty(endpoint)) {
return null;
}
return endpoint.substring(endpoint.lastIndexOf("/")+1, endpoint.indexOf('.'));
return endpoint.substring(endpoint.lastIndexOf("/") + 1, endpoint.indexOf('.'));
}
public static String getNameSrvAddrFromNamesrvEndpoint(String nameSrvEndpoint) {