mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-21 13:49:50 +08:00
fix some nonconformity after checkstyle
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user