mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
redundant cast
This commit is contained in:
@@ -121,7 +121,7 @@ public class QuickFixAction extends AnAction implements CustomComponentAction {
|
||||
try {
|
||||
Ref<CommonProblemDescriptor[]> descriptors = Ref.create();
|
||||
Set<VirtualFile> readOnlyFiles = new THashSet<>();
|
||||
if (!ProgressManager.getInstance().runProcessWithProgressSynchronously((Runnable)() -> ReadAction.run(() -> {
|
||||
if (!ProgressManager.getInstance().runProcessWithProgressSynchronously(() -> ReadAction.run(() -> {
|
||||
final ProgressIndicator indicator = ProgressManager.getInstance().getProgressIndicator();
|
||||
indicator.setText("Checking problem descriptors...");
|
||||
descriptors.set(tree.getSelectedDescriptors(true, readOnlyFiles, false, false));
|
||||
|
||||
Reference in New Issue
Block a user