Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate compiler warnings that show up in the Tycho build #570

Merged
merged 1 commit into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading