diff --git a/idea/testData/debugger/sequence/psi/streams/positive/types/MapToPrimitive.kt b/idea/testData/debugger/sequence/psi/streams/positive/types/MapToPrimitive.kt index 286448604cc..0faff5ad691 100644 --- a/idea/testData/debugger/sequence/psi/streams/positive/types/MapToPrimitive.kt +++ b/idea/testData/debugger/sequence/psi/streams/positive/types/MapToPrimitive.kt @@ -1,5 +1,5 @@ -import java.util.stream.LongStream +import java.util.stream.Stream fun main(args: Array) { - LongStream.of(10, 200, 3000).mapToDouble { it * 1000.1 }.count() + Stream.of(10, 200, 3000).mapToDouble { it * 1000.1 }.count() } \ No newline at end of file diff --git a/idea/tests/com/intellij/debugger/streams/kotlin/psi/java/TypedJavaChainTest.kt b/idea/tests/com/intellij/debugger/streams/kotlin/psi/java/TypedJavaChainTest.kt index 91277152649..ce526c9d7fb 100644 --- a/idea/tests/com/intellij/debugger/streams/kotlin/psi/java/TypedJavaChainTest.kt +++ b/idea/tests/com/intellij/debugger/streams/kotlin/psi/java/TypedJavaChainTest.kt @@ -19,9 +19,9 @@ class TypedJavaChainTest : TypedChainTestCase("streams/positive/types") { fun testPrimitiveOneCall() = doTest(INT) fun testPrimitiveMapToSame() = doTest(LONG, LONG) - fun testMapToPrimitive() = doTest(NULLABLE_ANY, INT) + fun testMapToPrimitive() = doTest(NULLABLE_ANY, DOUBLE) fun testMapToObj() = doTest(DOUBLE, NULLABLE_ANY) - fun testMapPrimitiveToPrimitive() = doTest(LONG, DOUBLE) + fun testMapPrimitiveToPrimitive() = doTest(LONG, INT) fun testFewTransitions() = doTest(NULLABLE_ANY, INT, NULLABLE_ANY, LONG, DOUBLE) }