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

GitOrigin-RevId: 9863c1e384067b97b5015147589e409facd37549
This commit is contained in:
Alexey Belkov
2023-05-24 14:28:09 +04:00
committed by intellij-monorepo-bot
parent e9e34bd7ff
commit ebe914e465
82 changed files with 251 additions and 294 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()