drop deprecated syntax for class objects

This commit is contained in:
Dmitry Jemerov
2015-04-24 17:17:18 +02:00
parent 2bc4dde959
commit 683d727c72
23 changed files with 3 additions and 339 deletions
@@ -150,7 +150,6 @@ public open class JetPsiChecker : Annotator, HighlightRangeExtension {
val annotation = holder.createWarningAnnotation(textRange, getDefaultMessage(diagnostic))
when (factory) {
Errors.DEPRECATED_CLASS_OBJECT_SYNTAX,
Errors.DEPRECATED_SYMBOL,
Errors.DEPRECATED_SYMBOL_WITH_MESSAGE
-> annotation.setTextAttributes(CodeInsightColors.DEPRECATED_ATTRIBUTES)