perf[protocol]:Optimize protocol configuration

This commit is contained in:
meiwei committed 2023-08-29 14:47:39 +08:00
1 parent 16c647d2a4
commit 884a74da31
1 file changed
+3
@@ -155,6 +155,9 @@ public abstract class ClassUtils {
String entryPath = entry.getName();
if (entryPath.startsWith(packageBasePath)) {
int index = entryPath.indexOf(CLASS_FILE_EXT);
if (index == -1) {
continue;
}
String relativePath = entryPath.substring(0, index);
String className = relativePath.replaceAll(StringUtils.SLASH, StringUtils.PERIOD);
classSet.add(className);