From 938b3c1d3799312a5f169ebac90936df7331eeee Mon Sep 17 00:00:00 2001 From: Nicolay Mitropolsky Date: Thu, 6 Aug 2020 19:59:49 +0300 Subject: [PATCH] UastCallMatcher: fix kotlin testdata because it is incorrect to expect the same behavior for `java.lang.String` and `kotlin.String` GitOrigin-RevId: c9a02e970c3fcb71da40dab75e161c67344d9acd --- .../testData/codeInspection/uastCallMatcher/MethodReferences.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jvm/jvm-analysis-kotlin-tests/testData/codeInspection/uastCallMatcher/MethodReferences.kt b/jvm/jvm-analysis-kotlin-tests/testData/codeInspection/uastCallMatcher/MethodReferences.kt index 4e2d2384b993..0a8a59958cfe 100644 --- a/jvm/jvm-analysis-kotlin-tests/testData/codeInspection/uastCallMatcher/MethodReferences.kt +++ b/jvm/jvm-analysis-kotlin-tests/testData/codeInspection/uastCallMatcher/MethodReferences.kt @@ -4,7 +4,7 @@ import java.util.stream.IntStream class MethodReferences { fun foo(list: List) { - list.stream().map(String::toUpperCase) + list.stream().map(java.lang.String::toUpperCase) list.stream().map(String::chars) list.stream().map(Objects::hashCode) // static method