diff --git a/src/main/kotlin/controller/ControllerMethodLineMarker.kt b/src/main/kotlin/controller/ControllerMethodLineMarker.kt index 84b719ec..c9bd59dc 100644 --- a/src/main/kotlin/controller/ControllerMethodLineMarker.kt +++ b/src/main/kotlin/controller/ControllerMethodLineMarker.kt @@ -13,7 +13,7 @@ class ControllerMethodLineMarker : LineMarkerProvider { override fun getLineMarkerInfo(psiElement: PsiElement): LineMarkerInfo<*>? = null - private fun getRelatedFiles(file: PsiFile, controllerName: String, element: PsiElement): LineMarkerInfo<*>? { + private fun getRelatedFiles(file: PsiFile, controllerName: String, element: PsiElement): LineMarkerInfo? { if (element !is Method) { return null } @@ -36,7 +36,10 @@ class ControllerMethodLineMarker : LineMarkerProvider { .createLineMarkerInfo(nameIdentifier) } - private fun addLineMarkerUnique(collection: MutableCollection>, newMarker: LineMarkerInfo<*>?) { + private fun addLineMarkerUnique( + collection: MutableCollection>, + newMarker: LineMarkerInfo? + ) { if (newMarker == null) { return } @@ -52,8 +55,8 @@ class ControllerMethodLineMarker : LineMarkerProvider { } override fun collectSlowLineMarkers( - list: MutableList, - collection: MutableCollection> + list: List, + collection: MutableCollection> ) { for (element in list) { val settings = Settings.getInstance(element.project)