File does not end with a new line

When I use the checkstyle plugin, I always encounter this issue in Eclipse. Even if the file has new line in it, the goal checkstyle:check still fails and SO is not really helpful here since they just advice to turn the check off.

Good thing I found this, it just suggested to go to

File -> Convert Line Delimiters to -> Windows …

And it works!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.