0
点赞
收藏
分享

微信扫一扫

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

覃榜言 2022-10-31 阅读 99


问题:

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出现如下图:

 

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

 

.

 

举报

相关推荐

0 条评论