jdk8新特性之出现This inspection finds all usages of methods that have @since tag in their documentation.
今天在做jdk8新特性测试的时候出现了如上图的bug,提供两种解决办法。
解决思路一:
检查自己项目的JDK是不是JDK8,若不是请选择JDK8。
解决思路二:
打开自己的IDE选择Project Structure,点进去之后
然后选择Modules,点进去
选择上面的Sources -->然后选择Language level 把这个配置文件选择为8
这样就完美的解决了问题。
这是出于我自己的bug要求所改,希望对您有帮助。