Bug 571070

Summary: "Generate equals/hashCode" dialog should default to use Objects.equals/hashCode
Product: [Eclipse Project] JDT Reporter: Mickael Istria <mistria>
Component: TextAssignee: Kalyan Prasad Tatavarthi <kalyan_prasad>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jjohnst, jjohnstn, kalyan_prasad
Version: 4.20Keywords: bugday, helpwanted, usability
Target Milestone: 4.20 M2   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/179554
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=f67918ba7cfda237122dd6db4bb254ba328c931c
Whiteboard:

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