aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Sampaoli2014-03-19 00:43:42 (EDT)
committerLars Vogel2014-03-20 11:02:19 (EDT)
commitb0162eeb18bba6d75671bd08270255163cae7ac6 (patch)
treeaf9c7d8ecb936489483c7c2977c708d0ac0bb46b
parent1cc2caa8ec379e5adee17386383974d5f135ba40 (diff)
downloadeclipse.platform.ui-b0162eeb18bba6d75671bd08270255163cae7ac6.zip
eclipse.platform.ui-b0162eeb18bba6d75671bd08270255163cae7ac6.tar.gz
eclipse.platform.ui-b0162eeb18bba6d75671bd08270255163cae7ac6.tar.bz2
Bug 428355 - [New Contributors] Fix warnings in platform projects refs/changes/85/23585/2
Change-Id: Ic93de5d6796581aa2de5b4cf15810a7a556cf597 Signed-off-by: Sebastian Sampaoli <seba.sampaoli@gmail.com>
-rw-r--r--bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationManager.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationManager.java
index 534aff1..70b681b 100644
--- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationManager.java
+++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2003, 2006 IBM Corporation and others.
+ * Copyright (c) 2003, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Sebastian Sampaoli <seba.sampaoli@gmail.com> Bug - 428355
*******************************************************************************/
package org.eclipse.e4.ui.progress.internal;
@@ -135,7 +136,7 @@ public class AnimationManager {
private IJobProgressManagerListener getProgressListener() {
return new IJobProgressManagerListener() {
- Set jobs = Collections.synchronizedSet(new HashSet());
+ Set<Job> jobs = Collections.synchronizedSet(new HashSet<Job>());
/*
* (non-Javadoc)