override fun equals()

in plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/agent/CommandLine.kt [31:46]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as CommandLine

        if (target != other.target) return false
        if (executableFile != other.executableFile) return false
        if (workingDirectory != other.workingDirectory) return false
        if (arguments != other.arguments) return false
        if (environmentVariables != other.environmentVariables) return false
        if (title != other.title) return false
        if (description != other.description) return false

        return true
    }