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.
When one has the IDE generate an equals method, it spits out something like this: @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final Foo other = (Foo) obj; if (this.bar != other.bar) { return false; } return true; } I noticed that it is missing a comparison to "this", in other words: if (this == obj) return true; This could save processor time comparing members if the programmer doesn't add it themselves
Bug still exists in 8.0.2
Already fixed in the current dev build.