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.

Bug 102531 - "generate equals() and hashCode()" use == for enums
Summary: "generate equals() and hashCode()" use == for enums
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 18:29 UTC by Tim Lebedkov
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2007-04-25 18:29:59 UTC
... instead of a.equals(b)
Comment 1 Dusan Balek 2007-08-09 10:52:49 UTC
Fixed.

Checking in EqualsHashCodeGenerator.java;
/cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/EqualsHashCodeGenerator.java,v  <-- 
EqualsHashCodeGenerator.java
new revision: 1.17; previous revision: 1.16
done
Comment 2 Tim Lebedkov 2007-09-19 18:38:07 UTC
ok