File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ private void handleBrowseButtonPressed() {
270270
271271 String lastUsedPath = IAntCoreConstants .EMPTY_STRING ;
272272 FileDialog dialog = new FileDialog (getShell (), SWT .SINGLE | SWT .SHEET );
273- dialog .setFilterExtensions (new String [] { "*.xml" } ); //$NON-NLS-1$ ;
273+ dialog .setFilterExtensions ("*.xml" ); //$NON-NLS-1$ ;
274274 dialog .setFilterPath (lastUsedPath );
275275
276276 String result = dialog .open ();
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ private void addExternalJars() {
239239 lastUsedPath = ResourcesPlugin .getWorkspace ().getRoot ().getLocation ().toOSString ();
240240 }
241241 FileDialog dialog = new FileDialog (treeViewer .getControl ().getShell (), SWT .MULTI | SWT .SHEET );
242- dialog .setFilterExtensions (new String [] { "*.jar;*.zip" } ); //$NON-NLS-1$
242+ dialog .setFilterExtensions ("*.jar;*.zip" ); //$NON-NLS-1$
243243 dialog .setFilterPath (lastUsedPath );
244244
245245 String result = dialog .open ();
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ private void addExternalPropertyFile() {
411411 lastUsedPath = IAntCoreConstants .EMPTY_STRING ;
412412 }
413413 FileDialog dialog = new FileDialog (fileTableViewer .getControl ().getShell (), SWT .MULTI | SWT .SHEET );
414- dialog .setFilterExtensions (new String [] { "*.properties" , "*.*" } ); //$NON-NLS-1$ //$NON-NLS-2$ ;
414+ dialog .setFilterExtensions ("*.properties" , "*.*" ); //$NON-NLS-1$ //$NON-NLS-2$ ;
415415 dialog .setFilterPath (lastUsedPath );
416416
417417 String result = dialog .open ();
You can’t perform that action at this time.
0 commit comments