avoid type warning

This commit is contained in:
Vladimir Krivosheev
2014-02-28 17:13:20 +01:00
parent 0d528ac73f
commit f23249bde9
@@ -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) {