Skip to content

Commit adbbdef

Browse files
eclipse-pde-botakurtakov
authored andcommitted
Perform clean code of ui/org.eclipse.pde.ui
1 parent a523830 commit adbbdef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/ConfigurationTemplateBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ protected IFile getFile() {
186186
@Override
187187
protected void handleBrowseFileSystem() {
188188
FileDialog dialog = new FileDialog(fTab.getControl().getShell());
189-
dialog.setFilterExtensions(new String[] {"*.ini"}); //$NON-NLS-1$
189+
dialog.setFilterExtensions("*.ini"); //$NON-NLS-1$
190190
dialog.setFilterPath(getLocation());
191191
dialog.setText(PDEUIMessages.ConfigurationTab_configLocMessage);
192192
String res = dialog.open();

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/plugin/LibraryPluginJarsPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public LibraryPluginJarsPage(String pageName, LibraryPluginFieldData data, Colle
7777

7878
private void chooseFile() {
7979
FileDialog dialog = new FileDialog(getShell(), SWT.OPEN | SWT.MULTI);
80-
dialog.setFilterExtensions(new String[] {"*.jar"}); //$NON-NLS-1$
80+
dialog.setFilterExtensions("*.jar"); //$NON-NLS-1$
8181
String res = dialog.open();
8282
if (res != null) {
8383
String path = new File(res).getParent();

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/tools/ConvertPreferencesWizardPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private File getPreferencesFile(String path) {
196196
private void handleBrowsePreferences() {
197197
FileDialog dialog = new FileDialog(getShell());
198198
dialog.setText(PDEUIMessages.ConvertPreferencesWizardPage_fileTitle);
199-
dialog.setFilterExtensions(new String[] {"*.epf"}); //$NON-NLS-1$
199+
dialog.setFilterExtensions("*.epf"); //$NON-NLS-1$
200200
dialog.setText(PDEUIMessages.ConvertPreferencesWizardPage_fileMessage);
201201
dialog.setFileName(fPreferencesFilePath);
202202
String path = dialog.open();

0 commit comments

Comments
 (0)