[inspections] Rename OptSet -> OptStringList; stringSet -> stringList

This reflects that we usually preserve ordering and in fact map to the List<String>

GitOrigin-RevId: f44eb3efae5db372dfb1747d86b728a23ec5745b
This commit is contained in:
Tagir Valeev
2023-01-17 12:04:09 +01:00
committed by intellij-monorepo-bot
parent 35c501455e
commit 56013717c5
61 changed files with 138 additions and 147 deletions

View File

@@ -45,7 +45,6 @@ import java.util.List;
import java.util.Set;
import static com.intellij.codeInspection.options.OptPane.pane;
import static com.intellij.codeInspection.options.OptPane.stringSet;
/**
* User: catherine
@@ -142,6 +141,6 @@ public class RestRoleInspection extends RestInspection {
@Override
public @NotNull OptPane getOptionsPane() {
return pane(stringSet("ignoredRoles", PythonRestBundle.message("python.rest.inspections.role.ignore.roles.label")));
return pane(OptPane.stringList("ignoredRoles", PythonRestBundle.message("python.rest.inspections.role.ignore.roles.label")));
}
}