Why the HashMap class is marked as "Deprecated classes usages" by IntelliJ Plugin Verifier?
Answered
When I upload my plugin to the markerplace, the IntelliJ Plugin Verifier always reports HashMap as deprecated:
"Deprecated class HashMap is referenced in ..."
Why is that?
In the IDE, during development though everything is fine.
Please sign in to leave a comment.
I assume you refer to com.intellij.util.containers.HashMap
Please replace usages with regular java.util.HashMap.
Plugin Verifier most likely checks against later platform releases (where the deprecation was added), than the one you're compiling against.
Ah indeed. I haven't realized I used a different HashMap. Thanks!