Skip to content

Commit

Permalink
Eliminate compiler warnings that show up in the Tycho build
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Feb 11, 2024
1 parent ad3f441 commit 47ffde3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 47ffde3

Please sign in to comment.