warning: [serial] serializable class SomeClass has no definition of serialVersionUID

This warning comes when you derive from a class that implements Serializable. In your case, the Serializable parent class is JFrame. You can suppress this warning with @SuppressWarnings(“serial”), or give the class a serialVersionUID: private static final long serialVersionUID = …; (with a long value for the dots). There is a discussion here on SO … Read more

How to get rid of Checkstyle message ‘File does not end with a newline.’

In my case that was a problem with improper configuration of that checker. By default it uses system default convention of line endings. I was working on windows and the project was using unix-style line endings. I don’t think ignoring the warning is the best strategy, so what I’ve done is: <module name=”Checker”> <module name=”NewlineAtEndOfFile”> … Read more