天天看点

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

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