diff --git a/widgets/radiogroup/org.eclipse.nebula.widgets.radiogroup/src/org/eclipse/nebula/jface/viewer/radiogroup/RadioGroupViewer.java b/widgets/radiogroup/org.eclipse.nebula.widgets.radiogroup/src/org/eclipse/nebula/jface/viewer/radiogroup/RadioGroupViewer.java index d7134a9e9..2780edee9 100644 --- a/widgets/radiogroup/org.eclipse.nebula.widgets.radiogroup/src/org/eclipse/nebula/jface/viewer/radiogroup/RadioGroupViewer.java +++ b/widgets/radiogroup/org.eclipse.nebula.widgets.radiogroup/src/org/eclipse/nebula/jface/viewer/radiogroup/RadioGroupViewer.java @@ -102,7 +102,7 @@ public void add(Object element) { * AbstractListViewer API. */ @Override - public void add(Object[] elements) { + public void add(Object... elements) { super.add(elements); } @@ -321,7 +321,7 @@ public void remove(Object element) { * AbstractListViewer API. */ @Override - public void remove(Object[] elements) { + public void remove(Object... elements) { super.remove(elements); } diff --git a/widgets/xviewer/org.eclipse.nebula.widgets.xviewer/src/org/eclipse/nebula/widgets/xviewer/util/internal/FilteredTreeComposite.java b/widgets/xviewer/org.eclipse.nebula.widgets.xviewer/src/org/eclipse/nebula/widgets/xviewer/util/internal/FilteredTreeComposite.java index 762dce982..a845392e1 100644 --- a/widgets/xviewer/org.eclipse.nebula.widgets.xviewer/src/org/eclipse/nebula/widgets/xviewer/util/internal/FilteredTreeComposite.java +++ b/widgets/xviewer/org.eclipse.nebula.widgets.xviewer/src/org/eclipse/nebula/widgets/xviewer/util/internal/FilteredTreeComposite.java @@ -749,7 +749,7 @@ public void add(Object parentElementOrTreePath, Object childElement) { } @Override - public void add(Object parentElementOrTreePath, Object[] childElements) { + public void add(Object parentElementOrTreePath, Object... childElements) { getPatternFilter().clearCaches(); super.add(parentElementOrTreePath, childElements); } @@ -797,13 +797,13 @@ public void remove(Object elementsOrTreePaths) { } @Override - public void remove(Object parent, Object[] elements) { + public void remove(Object parent, Object... elements) { getPatternFilter().clearCaches(); super.remove(parent, elements); } @Override - public void remove(Object[] elementsOrTreePaths) { + public void remove(Object... elementsOrTreePaths) { getPatternFilter().clearCaches(); super.remove(elementsOrTreePaths); } diff --git a/widgets/xviewer/org.eclipse.nebula.widgets.xviewer/src/org/eclipse/nebula/widgets/xviewer/util/internal/dialog/XFilteredTree.java b/widgets/xviewer/org.eclipse.nebula.widgets.xviewer/src/org/eclipse/nebula/widgets/xviewer/util/internal/dialog/XFilteredTree.java index 2ff966971..3d97f6fd8 100644 --- a/widgets/xviewer/org.eclipse.nebula.widgets.xviewer/src/org/eclipse/nebula/widgets/xviewer/util/internal/dialog/XFilteredTree.java +++ b/widgets/xviewer/org.eclipse.nebula.widgets.xviewer/src/org/eclipse/nebula/widgets/xviewer/util/internal/dialog/XFilteredTree.java @@ -985,7 +985,7 @@ public void add(Object parentElementOrTreePath, Object childElement) { } @Override - public void add(Object parentElementOrTreePath, Object[] childElements) { + public void add(Object parentElementOrTreePath, Object... childElements) { getPatternFilter().clearCaches(); super.add(parentElementOrTreePath, childElements); } @@ -1033,13 +1033,13 @@ public void remove(Object elementsOrTreePaths) { } @Override - public void remove(Object parent, Object[] elements) { + public void remove(Object parent, Object... elements) { getPatternFilter().clearCaches(); super.remove(parent, elements); } @Override - public void remove(Object[] elementsOrTreePaths) { + public void remove(Object... elementsOrTreePaths) { getPatternFilter().clearCaches(); super.remove(elementsOrTreePaths); }