[英]Why IntelliJ has inspections for generic usage disabled by default?
Why does IntelliJ has inspections for generic usage disabled by default?为什么 IntelliJ 默认禁用通用用法检查?
These inspections ( Java 5 -> Raw use of parametrized class
) needs to be enabled explicitly and I find that new developers do not know about them.这些检查( Java 5 -> Raw use of parametrized class
)需要明确启用,我发现新开发人员不知道它们。 Is there some good reason I do not know why using raw types would be a good practice?有什么好的理由我不知道为什么使用原始类型是一个好习惯吗?
The Raw use of parameterized class
inspection is enabled by default since IntelliJ IDEA version 2019.3.自 IntelliJ IDEA 版本 2019.3 起,默认启用Raw use of parameterized class
。 Are you using an older version?您使用的是旧版本吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.