java. util. IntelliJ deprecation warning for HashMap
•
Java
IntelliJ seems to think that Java util. HashMap's no Arg constructor has been deprecated, as judged by its style of marking constructor names:
If I don't want to disable checking, how can I solve it?
UPD: IntelliJ seems to think that Java is not recommended util. HashMap class
Solution
I have Java util. List is marked as deprecated for this issue Somehow, I marked it with "external comments"
To delete it:
>Click to enter the source code (Java. Util. List in my example) > there should be an @ next to the type, and click it... > deannotate Java lang.Deprecated
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码