ap14 / jsr-305

Automatically exported from code.google.com/p/jsr-305
0 stars 0 forks source link

Nonnegative.Checker class should be static #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Open Nonnegative.java
2. Look at inner class Checker

What is the expected output? What do you see instead?

Class Checker should be static, just like all other checkers

What version of the product are you using? On what operating system?

r43

Original issue reported on code.google.com by wiktor.k...@gmail.com on 30 Jun 2009 at 12:50

GoogleCodeExporter commented 9 years ago
Checker classes are static and public by default (because they're inner types 
of an
interface) but IMHO the source code should be consistent: use static or drop it
everywhere.

Original comment by wiktor.k...@gmail.com on 18 Jul 2009 at 2:39