mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix mismatching varargs/array params in overrides
This commit is contained in:
committed by
Anna.Kozlova
parent
acb13c1458
commit
55c839cb96
@@ -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
|
||||
|
||||
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user