Menu

#10 Update Board.java by applying CheckStyle suggestions

Task
closed
None
2015-05-09
2015-05-09
No

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.

1 Attachments

Discussion

  • Tavon Hannah

    Tavon Hannah - 2015-05-09

    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

     
  • Tavon Hannah

    Tavon Hannah - 2015-05-09
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,4 +4,4 @@
     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 elinate additional suggestions about tab spacing. 
    +Note: Change Tab space to 2 versus four, to eliminate additional suggestions about tab spacing. 
    
    • status: open --> closed
     
  • Tavon Hannah

    Tavon Hannah - 2015-05-09

    updated Board.java in revisions 17 and 19 applying changes to make class compliant with Checkstyle configuration.

     

Log in to post a comment.