Skip to content

Commit 8ce0901

Browse files
committed
Remove duplicated codes
1 parent ab61137 commit 8ce0901

File tree

1 file changed

+1
-5
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/intellij/helpers

1 file changed

+1
-5
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/intellij/helpers/UIHelperImpl.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,7 @@ public void run() {
155155
@Override
156156
public boolean showConfirmation(@NotNull String message, @NotNull String title, @NotNull String[] options,
157157
String defaultOption) {
158-
return runFromDispatchThread(() -> 0 == Messages.showDialog(message,
159-
title,
160-
options,
161-
ArrayUtils.indexOf(options, defaultOption),
162-
null));
158+
return showConfirmation(null, message, title, options, defaultOption);
163159
}
164160

165161
@Override

0 commit comments

Comments
 (0)