@@ -34,14 +34,14 @@ import com.jetbrains.gateway.ssh.HighLevelHostAccessor
3434import com.jetbrains.gateway.ssh.IdeStatus
3535import com.jetbrains.gateway.ssh.IdeWithStatus
3636import com.jetbrains.gateway.ssh.IntelliJPlatformProduct
37- import com.jetbrains.gateway.ssh.deploy.guessOs
3837import kotlinx.coroutines.CoroutineScope
3938import kotlinx.coroutines.Dispatchers
4039import kotlinx.coroutines.cancel
4140import kotlinx.coroutines.launch
4241import kotlinx.coroutines.withContext
4342import java.awt.Component
4443import java.awt.FlowLayout
44+ import java.util.Locale
4545import javax.swing.ComboBoxModel
4646import javax.swing.DefaultComboBoxModel
4747import javax.swing.JLabel
@@ -125,7 +125,7 @@ class CoderLocateRemoteProjectStepView(private val disableNextAction: () -> Unit
125125 HighLevelHostAccessor .create(
126126 credentialsHolder,
127127 true
128- ).hostCommandExecutor. guessOs()
128+ ).guessOs()
129129 } catch (e: Exception ) {
130130 logger.error(" Could not resolve any IDE for workspace ${selectedWorkspace.name} . Reason: $e " )
131131 null
@@ -235,7 +235,7 @@ class CoderLocateRemoteProjectStepView(private val disableNextAction: () -> Unit
235235 JPanel ().apply {
236236 layout = FlowLayout (FlowLayout .LEFT )
237237 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 {
239239 foreground = UIUtil .getLabelDisabledForeground()
240240 })
241241 background = UIUtil .getListBackground(isSelected, cellHasFocus)
0 commit comments