Menu

#11 Code refactoring on class ClientGUI (revision.v1)

1.0
closed
None
2016-04-02
2016-04-02
No

New code refactoring that was left behind on the first revision, on the ClientGUI class:

  • Add default case in switch statement: on line 417 add a default case to match the enum constant ERROR
  • Replace hard-code line separators: replace line separator “\n” for System.getProperty("line.separator"), on lines 364 and 372, is more accurate to use this because the hard-code “\n” separator is platform dependent

Discussion

  • Nicolas Rocca

    Nicolas Rocca - 2016-04-02
    • status: open --> closed
     
  • Nicolas Rocca

    Nicolas Rocca - 2016-04-02

    Code changes applied

     

Log in to post a comment.