mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 12:30:52 +00:00
format source code
This commit is contained in:
@@ -64,18 +64,18 @@ public class DebuggerTools {
|
||||
if (tested == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
// fast check, because dynamic regex compile and match is expensive
|
||||
if (!tested.startsWith(DEBUGGER_PACKAGE)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (cls == null) {
|
||||
cls = "";
|
||||
} else {
|
||||
cls = "\\." + Pattern.quote(cls);
|
||||
}
|
||||
|
||||
|
||||
return tested.matches(Pattern.quote(DEBUGGER_PACKAGE) + "(\\.pkg[a-f0-9]+)?" + cls);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user