Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
student:checkstyle:common-defects [2018/09/07 11:27] bernstdhstudent:checkstyle:common-defects [2018/09/19 14:34] (current) bernstdh
Line 20: Line 20:
  
 **File does not end with a newline. [NewlineAtEndOfFile]**\\ **File does not end with a newline. [NewlineAtEndOfFile]**\\
-There must be a newline character at the end of every file. Move the cursor to the last character in the file and press Enter. Then, make sure that there are no other characters on the last line - the absolute last character must be a newline.+There must be a newline character at the end of every file. Move the cursor to the last character in the file and press Enter. Then, make sure that there are no other characters on the last line - the absolute last character must be a newline. Finally, make sure that your editor/IDE is using the appropriate end of line character.
  
 **'X' should be on a new line. [OperatorWrap]**\\ **'X' should be on a new line. [OperatorWrap]**\\