Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 340 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 340 Bytes

Find redundant null-checks in java file

Usage

ruby <source>/check_file.rb file_to_check.java

Checker will print the file name and the line number of the redundant check.
E.g. Null check is always true: tests/Example2.java:7

Run tests

ruby <source>/tests/run_tests.rb --glob "<source>/tests/*.java"