idea代码出现Usage of API documented as @since 1.8+ less... (Ctrl+F1)


问题:

Usage of API documented as @since 1.8+ less... (Ctrl+F1)
This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK version as the target platform for production

Error:(96, 80) java: -source 1.7 中不支持 lambda 表达式
(请使用 -source 8 或更高版本以启用 lambda 表达式)

 

解决方法:

在Idea中,按 shift+Ctrl+Alt+s出现如下图:

 

 

.

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM