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