Fix mismatching varargs/array params in overrides

This commit is contained in:
Dana Dahlstrom
2016-11-25 19:34:39 +01:00
committed by Anna.Kozlova
parent acb13c1458
commit 55c839cb96
3 changed files with 7 additions and 6 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,8 @@ import com.intellij.openapi.options.Configurable;
import com.intellij.openapi.options.ConfigurableGroup;
import com.intellij.openapi.options.ShowSettingsUtil;
import com.intellij.openapi.options.TabbedConfigurable;
import com.intellij.openapi.options.ex.*;
import com.intellij.openapi.options.ex.ConfigurableExtensionPointUtil;
import com.intellij.openapi.options.ex.ConfigurableVisitor;
import com.intellij.openapi.options.newEditor.SettingsDialog;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.project.ProjectManager;
@@ -86,7 +87,7 @@ public class ShowSettingsUtilImpl extends ShowSettingsUtil {
}
@Override
public void showSettingsDialog(@NotNull Project project, @NotNull ConfigurableGroup[] group) {
public void showSettingsDialog(@NotNull Project project, @NotNull ConfigurableGroup... group) {
try {
getDialog(project, group, null).show();
}
@@ -356,7 +356,7 @@ public class MockChangeListManager extends ChangeListManagerEx {
}
@Override
public void moveChangesTo(LocalChangeList list, Change[] changes) {
public void moveChangesTo(LocalChangeList list, Change... changes) {
}
@Override
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -73,7 +73,7 @@ public class DomElementAnnotationHolderImpl extends SmartList<DomElementProblemD
public DomElementProblemDescriptor createProblem(@NotNull final DomElement domElement,
final HighlightSeverity highlightType,
final String message,
final LocalQuickFix[] fixes) {
final LocalQuickFix... fixes) {
return createProblem(domElement, highlightType, message, null, fixes);
}