So im trying to get rid of two magic numbers that i have in my main method. I tried making them static fields but i just get a different checkstyle error. I'm looking for a way to make my main method check out completely with checkstyle.
These are the checkstyle errors i get:
'2000' is a magic number
'262' is a magic number
These are the checkstyle errors when i make them static fields:
Name 'twothou' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.
Name 'twosixtytwo' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.
P.S. if i try to make the variables non static it wont let me compile. Thanks for the help.