"Final Kotlin class or function with Spring annotation" inspection deprecation and disabling by default (KT-18506)

This commit is contained in:
Nicolay Mitropolsky
2017-06-16 15:22:18 +03:00
committed by Nikolay Krasko
parent 13349086ac
commit 6ae247ba61
2 changed files with 6 additions and 2 deletions
@@ -19,7 +19,7 @@
groupBundle="resources.messages.SpringBundle"
groupKey="inspection.group.code"
groupPath="Spring,Spring Core"
enabledByDefault="true"
enabledByDefault="false"
level="WARNING"/>
<localInspection language="kotlin"
displayName="Spring Facet Code Configuration (Kotlin)"
@@ -1,5 +1,9 @@
<html>
<body>
This inspection reports final Kotlin classes and functions annotated with Spring @Component, @Configuration or @Bean annotations
This inspection reports final Kotlin classes and functions annotated with Spring @Component, @Configuration or @Bean annotations.
<!-- tooltip end -->
<p>
<b>Deprecated</b>. This inspection is deprecated in favour of more robust <b>"Final declaration can't be overridden at runtime"</b> inspection.
</p>
</body>
</html>