Skip to content

Commit a7d8a5d

Browse files
Perform clean code of bundles/org.eclipse.ui.views.log
1 parent cd71c00 commit a7d8a5d

File tree

1 file changed

+2
-2
lines changed
  • bundles/org.eclipse.ui.views.log/src/org/eclipse/ui/internal/views/log

1 file changed

+2
-2
lines changed

bundles/org.eclipse.ui.views.log/src/org/eclipse/ui/internal/views/log/LogView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ public void dispose() {
722722
*/
723723
void handleImport() {
724724
FileDialog dialog = new FileDialog(getViewSite().getShell());
725-
dialog.setFilterExtensions(new String[] {"*.log"}); //$NON-NLS-1$
725+
dialog.setFilterExtensions("*.log"); //$NON-NLS-1$
726726
if (fDirectory != null) {
727727
dialog.setFilterPath(fDirectory);
728728
}
@@ -776,7 +776,7 @@ protected void setLogFile(File path) {
776776

777777
private void handleExport(boolean exportWholeLog) {
778778
FileDialog dialog = new FileDialog(getViewSite().getShell(), SWT.SAVE);
779-
dialog.setFilterExtensions(new String[] {"*.log"}); //$NON-NLS-1$
779+
dialog.setFilterExtensions("*.log"); //$NON-NLS-1$
780780
if (fDirectory != null) {
781781
dialog.setFilterPath(fDirectory);
782782
}

0 commit comments

Comments
 (0)