1) Install CheckStyle plug-in in Eclipse, "Checkstyle Plug-in 6.5.0"
2) After installation, Click the PowerFour project and then go to Project -> Properties in the Top bar menu.
3) Click the Checkstyle menu item on the left and check the "Checkstyle active for this project" checkbox
4) Set Checkstyle to Google Checks(Global) and select OK.
5) Go through Board .java file and apply suggestion. Ignore the "First sentence should be present" suggestion that appear for JavaDocs.
Note: Change Tab space to 2 versus four, to eliminate additional suggestions about tab spacing.
I attached an screenshot of where to change tab settings for eclipse. Its best we all make the same changes based on the same configurations
To get to the window in the screenshot go to Window -> Preferences
Diff:
updated Board.java in revisions 17 and 19 applying changes to make class compliant with Checkstyle configuration.