Skip to content

Commit 33ba46c

Browse files
committed
Use varargs method.
1 parent 4dcf6c9 commit 33ba46c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/debug/chrome/ChromeAttachDebugTabGroup.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,13 @@
1515
import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
1616
import org.eclipse.debug.ui.CommonTab;
1717
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
18-
import org.eclipse.debug.ui.ILaunchConfigurationTab;
1918
import org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab;
2019

2120
public class ChromeAttachDebugTabGroup extends AbstractLaunchConfigurationTabGroup {
2221

2322
@Override
2423
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
25-
setTabs(new ILaunchConfigurationTab[] {
26-
new ChromeAttachTab(),
27-
new ChromeExecutableTab(),
28-
new DSPOverrideSettingsTab(),
29-
new CommonTab()
30-
});
24+
setTabs(new ChromeAttachTab(), new ChromeExecutableTab(), new DSPOverrideSettingsTab(), new CommonTab());
3125
}
3226

3327
}

0 commit comments

Comments
 (0)