Eclipse suddenly doesn't like my overrides
Seemingly out of no where, I launch Eclipse, start coding, and I have a ton of errors, all relating to me overriding functions of some base classes (the onclicks, the adapters, etc). I remove the overrides and the functionality still works but I have no clue why this happened suddenly. I'm worried it could cause bigger issues. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
There is a chance that , you are using Java 1.5 , there is some clash is Java 1.5 and 1.6 regarding override.
override should not have any problem in Java 1.6 I guess,
But if you want to build in command line , We have to use Java 1.5 at that time override gives problem while compiling.
Hope this might help.
If you want to see , which one you are using, Under Eclipse,
Windows >> Preferences >> Java >> Compiler