Remove Null-Checks Before Instanceof

Two new rules in jSparrow 3.8.0 and jSparrow Maven Plugin 2.5.0!

A little bird, with plumage brown, On top my codebase flutters down, In search for issues where they may lay, Till, full on bugs, it flies away.

jSparrow has been busy studying new rules and is therefore happy to announce that he already knows rules! That’s right, jSparrow supports 64 automatic refactoring rules!

New rules to improve performance and readability!

Use Collections Singleton List offers an efficient way to create empty or single-element lists.

Remove Null-Checks Before Instanceof recognizes redundant null-checks before instanceof and removes them.

Find out more in the Release Notes for jSparrow Eclipse and jSparrow Maven!

“The most important property of a program is whether it accomplishes the intention of its user.” ― C.A.R. Hoare