@@ -34,14 +34,14 @@ import com.jetbrains.gateway.ssh.HighLevelHostAccessor
34
34
import com.jetbrains.gateway.ssh.IdeStatus
35
35
import com.jetbrains.gateway.ssh.IdeWithStatus
36
36
import com.jetbrains.gateway.ssh.IntelliJPlatformProduct
37
- import com.jetbrains.gateway.ssh.deploy.guessOs
38
37
import kotlinx.coroutines.CoroutineScope
39
38
import kotlinx.coroutines.Dispatchers
40
39
import kotlinx.coroutines.cancel
41
40
import kotlinx.coroutines.launch
42
41
import kotlinx.coroutines.withContext
43
42
import java.awt.Component
44
43
import java.awt.FlowLayout
44
+ import java.util.Locale
45
45
import javax.swing.ComboBoxModel
46
46
import javax.swing.DefaultComboBoxModel
47
47
import javax.swing.JLabel
@@ -125,7 +125,7 @@ class CoderLocateRemoteProjectStepView(private val disableNextAction: () -> Unit
125
125
HighLevelHostAccessor .create(
126
126
credentialsHolder,
127
127
true
128
- ).hostCommandExecutor. guessOs()
128
+ ).guessOs()
129
129
} catch (e: Exception ) {
130
130
logger.error(" Could not resolve any IDE for workspace ${selectedWorkspace.name} . Reason: $e " )
131
131
null
@@ -235,7 +235,7 @@ class CoderLocateRemoteProjectStepView(private val disableNextAction: () -> Unit
235
235
JPanel ().apply {
236
236
layout = FlowLayout (FlowLayout .LEFT )
237
237
add(JLabel (ideWithStatus.product.ideName, ideWithStatus.product.icon, SwingConstants .LEFT ))
238
- add(JLabel (" ${ideWithStatus.product.productCode} ${ideWithStatus.presentableVersion} ${ideWithStatus.buildNumber} | ${ideWithStatus.status.name.toLowerCase( )} " ).apply {
238
+ add(JLabel (" ${ideWithStatus.product.productCode} ${ideWithStatus.presentableVersion} ${ideWithStatus.buildNumber} | ${ideWithStatus.status.name.lowercase( Locale .getDefault() )} " ).apply {
239
239
foreground = UIUtil .getLabelDisabledForeground()
240
240
})
241
241
background = UIUtil .getListBackground(isSelected, cellHasFocus)
0 commit comments