Empty new line at the end of the Java source files

前端 未结 9 729
春和景丽
春和景丽 2021-02-01 00:44

In my current project, we always insert an empty new line at the end of the Java source files. We also enforce this with CheckStyle (with error level).

I was searching fo

9条回答
  •  长情又很酷
    2021-02-01 01:31

    We had to do this for some C++ code as the compiler generated a warning about it, and we had a 'no error or warnings' policy. Maybe the issue lies elsewhere... have you a diffing tool have goes haywire or a merge tool that can't handle it?

    It's not a big deal really.

提交回复
热议问题