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
814
814
815
815
override fun getComparator (): Comparator <WorkspaceAgentModel > {
816
816
return Comparator { a, b ->
817
- if (a == = b) 0
818
- if (a == null ) - 1
819
- if (b == null ) 1
820
-
821
817
a.name.compareTo(b.name, ignoreCase = true )
822
818
}
823
819
}
@@ -845,10 +841,6 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
845
841
846
842
override fun getComparator (): java.util.Comparator <WorkspaceAgentModel > {
847
843
return Comparator { a, b ->
848
- if (a == = b) 0
849
- if (a == null ) - 1
850
- if (b == null ) 1
851
-
852
844
a.templateName.compareTo(b.templateName, ignoreCase = true )
853
845
}
854
846
}
@@ -908,10 +900,6 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
908
900
909
901
override fun getComparator (): java.util.Comparator <WorkspaceAgentModel > {
910
902
return Comparator { a, b ->
911
- if (a == = b) 0
912
- if (a == null ) - 1
913
- if (b == null ) 1
914
-
915
903
a.agentStatus.label.compareTo(b.agentStatus.label, ignoreCase = true )
916
904
}
917
905
}
You can’t perform that action at this time.
0 commit comments