File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
src/main/kotlin/com/coder/gateway/views/steps Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -814,10 +814,6 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
814814
815815 override fun getComparator (): Comparator <WorkspaceAgentModel > {
816816 return Comparator { a, b ->
817- if (a == = b) 0
818- if (a == null ) - 1
819- if (b == null ) 1
820-
821817 a.name.compareTo(b.name, ignoreCase = true )
822818 }
823819 }
@@ -845,10 +841,6 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
845841
846842 override fun getComparator (): java.util.Comparator <WorkspaceAgentModel > {
847843 return Comparator { a, b ->
848- if (a == = b) 0
849- if (a == null ) - 1
850- if (b == null ) 1
851-
852844 a.templateName.compareTo(b.templateName, ignoreCase = true )
853845 }
854846 }
@@ -908,10 +900,6 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
908900
909901 override fun getComparator (): java.util.Comparator <WorkspaceAgentModel > {
910902 return Comparator { a, b ->
911- if (a == = b) 0
912- if (a == null ) - 1
913- if (b == null ) 1
914-
915903 a.agentStatus.label.compareTo(b.agentStatus.label, ignoreCase = true )
916904 }
917905 }
You can’t perform that action at this time.
0 commit comments