I am receiving a Find Bugs error - call to method of static java.text.DateFormat and I don\'t know the reason why it\'s not good / advisable to be
Are you sure it's not
private static final DateFormat yymmdd = new SimpleDateFormat("yyMMdd");
? That's what the error message indicates.
I think what it aims at is the fact that DateFormat is not thread safe, so having an instance as a static field indicates potential race conditions.
DateFormat