Apply "Java methods should be replaced with Kotlin analog" inspection on whole project

GitOrigin-RevId: 35d07247cdf7742957dde59bbb8d6408754a9c4e
This commit is contained in:
Alexey Belkov
2023-05-26 12:04:33 +04:00
committed by intellij-monorepo-bot
parent b5699b9c3e
commit 1d790f1992
80 changed files with 240 additions and 289 deletions

View File

@@ -1,3 +1,4 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Licensed under the terms of the Eclipse Public License (EPL).
package com.jetbrains.python.console.pydev
@@ -77,7 +78,7 @@ constructor(private val process: Process, hostname: String?, port: Int) : IPydev
}
//make an async call so that we can keep track of not actually having an answer.
try {
impl.executeAsync(command, Vector(Arrays.asList(*args)), object : AsyncCallback {
impl.executeAsync(command, Vector(listOf(*args)), object : AsyncCallback {
override fun handleError(error: Exception, url: URL, method: String) {
requestSynchronizer.release()