mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
avoid type warning
This commit is contained in:
@@ -305,7 +305,7 @@ public class XDebugSessionImpl implements XDebugSession {
|
||||
|
||||
Set<XBreakpointType<?, ?>> breakpointTypes = new THashSet<XBreakpointType<?, ?>>();
|
||||
for (XBreakpointHandler<?> handler : myDebugProcess.getBreakpointHandlers()) {
|
||||
breakpointTypes.add(getBreakpointTypeClass(handler));
|
||||
breakpointTypes.add(XDebuggerUtil.getInstance().findBreakpointType(handler.getBreakpointTypeClass()));
|
||||
}
|
||||
for (XBreakpoint<?> slaveBreakpoint : slaveBreakpoints) {
|
||||
if (breakpointTypes.contains(slaveBreakpoint.getType())) {
|
||||
@@ -331,10 +331,6 @@ public class XDebugSessionImpl implements XDebugSession {
|
||||
return myValueMarkers;
|
||||
}
|
||||
|
||||
private static XBreakpointType getBreakpointTypeClass(final XBreakpointHandler handler) {
|
||||
return XDebuggerUtil.getInstance().findBreakpointType(handler.getBreakpointTypeClass());
|
||||
}
|
||||
|
||||
private <B extends XBreakpoint<?>> void processBreakpoints(final XBreakpointHandler<B> handler,
|
||||
boolean register,
|
||||
final boolean temporary) {
|
||||
|
||||
Reference in New Issue
Block a user