Skip to content
StefanMedeleanu edited this page Jun 22, 2016 · 10 revisions

Welcome to the NullTerminator wiki!

The following is a example of applying the tool on a null check from the FindBugs project:

  1. The initial null check

  2. The replacement of the null check with the polymorphic call

  3. The classes containing the methods created following the refactor process

  4. We found 2 places where null should be replaced

  5. Finally, we manually replace the null values with an instance of the new null object

Clone this wiki locally