我刚刚下载了 Pet Clinic 示例(我想将其重写为 Spring Portlet MVC)并且在每个包中都有package-info.java
类。除了包声明,文件是空的,那么这有什么用?我可以在 Spring Portlet MVC 中安全地省略它吗?
问问题
1090 次
1 回答
2
You can safely delete these but normally from my experience you'd just put a description of what the package is for in a comment in this file.
You can find more info on the Oracle website here
于 2013-02-28T08:50:47.167 回答