@@ -32,7 +32,6 @@ import com.intellij.openapi.ui.OptionAction
32
32
import com.intellij.openapi.ui.ValidationInfo
33
33
import com.intellij.openapi.ui.popup.IconButton
34
34
import com.intellij.openapi.util.Computable
35
- import com.intellij.openapi.util.text.StringUtil
36
35
import com.intellij.openapi.vfs.StandardFileSystems
37
36
import com.intellij.openapi.vfs.VfsUtil
38
37
import com.intellij.openapi.vfs.VfsUtilCore.urlToPath
@@ -155,11 +154,9 @@ import org.utbot.intellij.plugin.ui.utils.testRootType
155
154
import org.utbot.intellij.plugin.util.IntelliJApiHelper
156
155
import org.utbot.intellij.plugin.util.extractFirstLevelMembers
157
156
import org.utbot.intellij.plugin.util.findSdkVersion
158
- import java.awt.Component
159
157
import java.time.LocalDateTime
160
158
import java.time.format.DateTimeFormatter
161
159
import java.util.*
162
- import javax.swing.DefaultListCellRenderer
163
160
164
161
private const val RECENTS_KEY = " org.utbot.recents"
165
162
@@ -461,7 +458,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
461
458
srcClasses.flatMap { it.extractFirstLevelMembers(false ) }
462
459
} else {
463
460
srcClasses.map { MemberInfo (it) }
464
- }.toSortedSet { o1, o2 -> o1.displayName.compareTo(o2.displayName, true ) }
461
+ }.toMutableList().sortedWith { o1, o2 -> o1.displayName.compareTo(o2.displayName, true ) }
465
462
466
463
checkMembers(items)
467
464
membersTable.setMemberInfos(items)
0 commit comments