This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
}
public int hashCode () {
return pos.getCloneableEditorSupport ().hashCode ();
return pos.hashCode ();
public boolean equals (Object o) {
if (o instanceof DocumentLine) {
DocumentLine dl = (DocumentLine)o;
if (dl.pos.getCloneableEditorSupport () == pos.getCloneableEditorSupport ()) {
return pos.equals(dl.pos);
return dl.getLineNumber () == getLineNumber ();
return false;