关于日食开普勒SR1
Regarding eclipse Kepler SR1
我记得有一个未使用的私有方法正在收到警告
I remember that a unused private methods were getting a warning from the compiler.
我不知道是否更改为切换到开普勒(或先前版本)还是项目设置,因为我正在研究共享月蚀设置的新项目。
I don't know if it's changed switching to Kepler (or a previous release) or if it is project settings, because I'm working on a new project where the eclipse settings are shared.
我什至在eclipse编译器设置中找不到该设置。
I even couldn't find the setting in the eclipse compiler settings.
推荐答案转到打包资源管理器上的项目,右键单击它,然后选择属性。然后在属性 Java编译器,错误/警告中。选中启用项目特定设置复选框。向下滚动到显示不必要的代码的部分,然后将其选中警告
go to your project on "Package Explorer", right-click on it and choose "properties". Then inside properties "Java Compiler", "Errors/Warnings". Check the box with "Enable project specific settings". Scroll down to the section where it says "Unnecessary code" and check them to "Warning"
更多推荐
eclipse:未警告未使用的私有方法
发布评论