current position:Home>Usage of API documented as @since 1.8+ less... (Ctrl+F1) Inspection info: This inspection finds all

Usage of API documented as @since 1.8+ less... (Ctrl+F1) Inspection info: This inspection finds all

2022-04-29 07:02:52Self disciplined watermelon L

1. I don't know that my partners use... In the daily development process stream When it's flowing , Have you ever encountered such a situation , Find out stream() The method is red , This is what the compiler tool reminds you , It is estimated that there is something wrong , As shown in the figure below :

2. When we move the mouse to the red area , The compiler tool will give us the following information . A long string of English characters , So let's take a look at what this prompt message means ?

3.Usage of API documented as @since 1.8+ less... (Ctrl+F1) 

Inspection info: 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. 

The general meaning of this prompt message is :

api Document from 1.8 Version in use

Check information : This inspection found that all the methods used have labels in their documents

When newer SDK When the version is developed as the target platform of production , This may be useful .

 

4. Solution : As shown in the figure below, enter the structure configuration of the project

5. Use it again stream When , No red report , It's back to normal .

 

copyright notice
author[Self disciplined watermelon L],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/116/202204260558544693.html

Random recommended