Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-07-01 19:41:13 +0000
committerAlexander Kurtakov2019-07-01 19:41:13 +0000
commit4ce33e921d6ef97182b02df49fa808f401d23588 (patch)
tree2f6a8c528f8b9111980b5e15f6600ca65e2aa336 /bundles/org.eclipse.team.ui
parente406046830f2071903990f9dff73403c7864e268 (diff)
downloadeclipse.platform.team-4ce33e921d6ef97182b02df49fa808f401d23588.tar.gz
eclipse.platform.team-4ce33e921d6ef97182b02df49fa808f401d23588.tar.xz
eclipse.platform.team-4ce33e921d6ef97182b02df49fa808f401d23588.zip
Fix warnings in team repo. Change-Id: I0637a6e9a888b760f87b05647c8b5fed83bda9d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.team.ui')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/AbstractSynchronizeModelProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/AbstractSynchronizeModelProvider.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/AbstractSynchronizeModelProvider.java
index 2fb028413..12d68ac5d 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/AbstractSynchronizeModelProvider.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/AbstractSynchronizeModelProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2018 IBM Corporation and others.
+ * Copyright (c) 2000, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -953,7 +953,7 @@ public abstract class AbstractSynchronizeModelProvider implements ISynchronizeMo
protected void doRemove(ISynchronizeModelElement[] elements) {
AbstractTreeViewer viewer = (AbstractTreeViewer)getViewer();
try {
- viewer.remove(elements);
+ viewer.remove((Object[]) elements);
} catch (SWTException e) {
// The remove failed due to an SWT exception. Log it and continue
TeamUIPlugin.log(IStatus.ERROR, "An error occurred removing elements from the synchronize view", e); //$NON-NLS-1$

Back to the top