Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2012-08-10 10:59:43 -0400
committerBenjamin Muskalla2012-08-10 10:59:43 -0400
commit1d3666f7377c3f29438ab564eec4f0c27690d56b (patch)
tree6f2ffd80498c942d315f49284680a35a4161c2e4 /org.eclipse.mylyn.trac.core
parent10fcea1fc458ba6b29241f4d67e17fee0f0bddbe (diff)
downloadorg.eclipse.mylyn.tasks-1d3666f7377c3f29438ab564eec4f0c27690d56b.tar.gz
org.eclipse.mylyn.tasks-1d3666f7377c3f29438ab564eec4f0c27690d56b.tar.xz
org.eclipse.mylyn.tasks-1d3666f7377c3f29438ab564eec4f0c27690d56b.zip
NEW - bug 386920: Trac doesn't use Policy for monitor in
initializeTaskData https://bugs.eclipse.org/bugs/show_bug.cgi?id=386920 Change-Id: I09b2d7139dd2a2b8a052209b7355d574117e4ba7
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
index 650c77964..29da4204e 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2009 Steffen Pingel and others.
+ * Copyright (c) 2006, 2012 Steffen Pingel 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:
* Steffen Pingel - initial API and implementation
+ * Benjamin Muskalla - bug 386920
*******************************************************************************/
package org.eclipse.mylyn.internal.trac.core;
@@ -54,6 +55,7 @@ import org.eclipse.osgi.util.NLS;
/**
* @author Steffen Pingel
+ * @author Benjamin Muskalla
*/
public class TracTaskDataHandler extends AbstractTaskDataHandler {
@@ -467,6 +469,7 @@ public class TracTaskDataHandler extends AbstractTaskDataHandler {
@Override
public boolean initializeTaskData(TaskRepository repository, TaskData data, ITaskMapping initializationData,
IProgressMonitor monitor) throws CoreException {
+ monitor = Policy.monitorFor(monitor);
try {
ITracClient client = connector.getClientManager().getTracClient(repository);
client.updateAttributes(monitor, false);

Back to the top