mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-03 05:20:50 +00:00
perf[protocol]:Optimize protocol configuration
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user