Remove a magic constant from 'KotlinLambdaMethodFilter'

This commit is contained in:
Yan Zhulanow
2018-12-03 20:36:37 +09:00
parent a6ba7e6e87
commit 1734726d50
@@ -71,7 +71,7 @@ class KotlinLambdaMethodFilter(
return isLambdaName(method.name())
}
override fun getCallingExpressionLines() = if (isInline) Range(0, 999) else myCallingExpressionLines
override fun getCallingExpressionLines() = if (isInline) Range(0, Int.MAX_VALUE) else myCallingExpressionLines
private fun isLambdaName(name: String?): Boolean {
if (isSuspend && name != null) {