Community
Participate
Working Groups
Hi! The option Source -> Generate hashCode() and equals() shows one alert when one attribute selected in the list don't defined the methods equals() or hashCode(). The alert says "The field type '....' does not implement equals() and hashCode() - the resulting code may not work correctly". But exist one exception. When the class which not defined the methods equals() or hashCode() has no attributes, this alert makes no sense. It should look for the methods equals() or hashCode() in the super class. Bye! -- Configuration Details -- Product: Eclipse 1.2.2.20100122-1337 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.jdt 3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6
Move to JDT/UI
Agreed.