Skip to content
Prev Previous commit
Next Next commit
Remove property declaration in constructor if is never used
  • Loading branch information
fioan89 committed Jun 21, 2022
commit eb1e60ad97f0aa4e8a542f8ccde7e9d34ebf2388
2 changes: 1 addition & 1 deletion src/main/kotlin/com/coder/gateway/sdk/CoderCLIManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.intellij.openapi.diagnostic.Logger
import java.net.URL
import java.nio.file.Path

class CoderCLIManager(private val url: URL, private val buildVersion: String) {
class CoderCLIManager(private val url: URL, buildVersion: String) {
private val coderCLIDownloader = CoderCLIDownloader(buildVersion)

fun download(): Path? {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package com.coder.gateway.sdk.ex

import java.io.IOException

class AuthenticationException(val reason: String) : IOException(reason)
class AuthenticationException(reason: String) : IOException(reason)
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.intellij.util.ui.components.BorderLayoutPanel
import com.jetbrains.rd.util.lifetime.Lifetime
import com.jetbrains.rd.util.lifetime.onTermination

class CoderGatewayConnectionComponent(val lifetime: Lifetime, val url: String) : BorderLayoutPanel() {
class CoderGatewayConnectionComponent(lifetime: Lifetime, val url: String) : BorderLayoutPanel() {
private val disposable = Disposer.newDisposable()
private val mainPanel = BorderLayoutPanel().apply {
add(JBLabel(CoderIcons.LOGO_52), "Center")
Expand Down