Bug 571070 - "Generate equals/hashCode" dialog should default to use Objects.equals/hashCode
Summary: "Generate equals/hashCode" dialog should default to use Objects.equals/hashCode
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.20   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.20 M2   Edit
Assignee: Kalyan Prasad Tatavarthi CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted, usability
Depends on:
Blocks:
 
Reported: 2021-02-09 16:17 EST by Mickael Istria CLA
Modified: 2021-04-23 02:48 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2021-02-09 16:17:10 EST
"Generate equals/hashCode" dialog should default to use Objects.equals/hashCode when project EE is Java >= 7. When doing recent Java, it's expected that those methods are used, it's frustrating that JDT generate old code, then we have to undo and retrigger the dialog to fix the checkbox in order to get the best behavior for the vast majority of cases.
Comment 1 Eclipse Genie CLA 2021-04-20 09:34:44 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/179554