Bug 474069 - Replace new Boolean with Boolean.valueOf

Using `new Boolean()` results in the creation of a new object on the
heap, when the flyweight `Boolean.TRUE` and `Boolean.FALSE` are available.

Java 1.4 added a `Boolean.valueOf()` which can be used in place of
`new Boolean()` but which will use the existing flyweight values instead.

Globally change `new Boolean(...)` to `Boolean.valueOf(...)` and replace
`new Boolean(...).booleanValue()` to the equivalent `Boolean.parseBoolean(...)`

Bug: 474069
Change-Id: I1cf2893f64964abd823d5d7700a99616959e08a5
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
13 files changed
tree: db430eaed27cf5387ca439db3f99737d86ff1a89
  1. apitools/
  2. ds/
  3. tests-pom/
  4. ua/
  5. ui/
  6. .gitignore
  7. pom.xml
  8. README.md
README.md

Contributing to PDE - Plug-in development Environment

Thanks for your interest in this project.

Project description:

The PDE project the Eclipse tooling to develop plug-ins and OSGI bundles.
Website: https://www.eclipse.org/pde/

How to contribute:

Contributions to PDE 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.

Developer resources:

Information regarding source code management, builds, coding standards, and more.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!

Contact:

Contact the project developers via the project's “dev” list.

License

Eclipse Public License (EPL) v1.0