commit | a854b95aa9417c6fa0df70a8bf58777bfe7d49c4 | [log] [tgz] |
---|---|---|
author | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Sat Feb 13 19:57:26 2021 +0100 |
committer | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Mon Feb 15 01:32:25 2021 -0500 |
tree | c5bc5bc6d301d89931520192ee9686f0f0730d12 | |
parent | e5791c9bc1397696cbfaf56eabf5e7503bf4e40b [diff] |
Bug 571184 - [AutoRefactor immigration #62/149] [cleanup & saveaction] Object::equals on non null Given: boolean result = text.equals("foo"); boolean result2 = text.equals(text1 + text2); boolean result3 = object.equals(DayOfWeek.MONDAY); boolean result4 = text.equalsIgnoreCase("foo"); When: Clean up the code enabling "Avoid Object::equals or String::equalsIgnoreCase on null objects" Then: boolean result = "foo".equals(text); boolean result2 = (text1 + text2).equals(text); boolean result3 = DayOfWeek.MONDAY.equals(object); boolean result4 = "foo".equalsIgnoreCase(text); Change-Id: I795af204f8dff26c9ffd0e447b434c472bf050d7 Signed-off-by: Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr>
Thanks for your interest in this project.
The JDT UI implements the user interface for the Java IDE. This includes views like Package Explorer and JUnit, the Java and properties files editors, Java search, and refactorings. Website: http://www.eclipse.org/jdt/ui/
Contributions to JDT UI are most welcome. There are many ways to contribute, from entering high quality bug reports, to contributing code or documentation changes. For a complete guide, see the [How to Contribute] 1 page on the team wiki.
Information regarding source code management, builds, coding standards, and more.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Public forum for Eclipse JDT users.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!
Contact the project developers via the project's “dev” list.