The idea compiler reports content of collection are updated, but never queried on variables
•
Java
background
I haven't seen you for a long time. When I write java with idea and declare HashMap, it turns yellow because of obsessive-compulsive disorder It must be solved, but I'm too lazy to take my own screenshots. I'll directly move others' screenshots
Defines a variable HashMap
Everything went well, but when adding a method
Add a method
The above MMAP reported a small yellow bar
analysis
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
二维码