int lineNumber = bp.getLineNumber();
for (Iterator i = set.iterator(); i.hasNext();)
{
PerlBreakpoint other = (PerlBreakpoint) i.next();
if (!(other instanceof PerlLineBreakpoint)) continue;
if (((PerlLineBreakpoint) other).getLineNumber() == lineNumber &&
other.isEnabled() == enabled)
{
i.remove();
return true;
}
}