You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interface return 'Param 'serviceName' is illegal, serviceName is blank', it should be optional in this one.
issue #3687 add a strong verification when NamingUtils.getGroupedName().
So, I think add a function without verification would be better.
public static String getGroupedName(final String serviceName, final String groupName) {
if (StringUtils.isBlank(serviceName)) {
throw new IllegalArgumentException("Param 'serviceName' is illegal, serviceName is blank");
}
final String resultGroupedName = groupName + Constants.SERVICE_INFO_SPLITER + serviceName;
return resultGroupedName.intern();
}
Describe the bug
The text was updated successfully, but these errors were encountered: