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