Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
student:checkstyle:common-defects [2018/09/07 11:27] – bernstdh | student: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. |
**' | **' |