Eclipse为不推荐使用的方法抛出错误

时间:2013-01-07 15:58:42

标签: eclipse

我正在尝试在eclipse中安装一个项目,但它会抛弃有关弃用方法的错误。

Elipse首选项是这样的:

java, compiler, errors/warnings, deprecated and restricted API, 

Deprecated API                                            Warning
    Signal use of deprecated API inside deprecated code  (unchecked)
    Signal overriding or implementing deprecated method  (unchecked)
Forbidden reference (access rules)                           Error
Discouraged reference (access rules)                     Warning

这些设置是否正确?或者是否有任何需要在pom中更新的内容?

0 个答案:

没有答案