This commit is contained in:
Jakub Valtar
2017-04-16 17:24:31 +02:00
parent f433a1e5ea
commit 2e36a6c2a8

View File

@@ -137,10 +137,12 @@ public class LineBreakpoint implements ClassLoadListener {
return false;
}
protected boolean isAttached() {
return bpr != null;
}
/**
* Detach this breakpoint from the VM. Deletes the
* {@link BreakpointRequest}.
@@ -232,7 +234,8 @@ public class LineBreakpoint implements ClassLoadListener {
}
}
public String parseTopLevelClassName(String name) {
static public String parseTopLevelClassName(String name) {
// Get rid of nested class name
int dollar = name.indexOf('$');
return (dollar == -1) ? name : name.substring(0, dollar);