What does "Usage of API documented as @since 1.6+ less..." mean?
已回答
The IDE shows an error with the following import,
I don't understand what this error says. Can somebody explain it to me?
请先登录再写评论。
If you develop with Java 6 or later and your code needs to run on Java 5 or below, this inspection will report APIs that are not available in Java below version 6. If it's not applicable to your project, disable the inspection.
Project Settings > Modules > Language Level was set to 5.0. I change it to 8, and now the error is gone.