From 9fe99bd2583b510bba69e88468912254ecdb0ba4 Mon Sep 17 00:00:00 2001 From: relves Date: Tue, 25 May 2010 21:13:56 +0000 Subject: NEW - bug 263528: display a repository service message to warn users of problems, updates, and other relevant information https://bugs.eclipse.org/bugs/show_bug.cgi?id=263528 --- .../mylyn/internal/tasks/core/notifications/ServiceMessageManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org.eclipse.mylyn.tasks.core') diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/notifications/ServiceMessageManager.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/notifications/ServiceMessageManager.java index c436736c5..469fdb859 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/notifications/ServiceMessageManager.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/notifications/ServiceMessageManager.java @@ -191,7 +191,7 @@ public class ServiceMessageManager { try { status = WebUtil.execute(httpClient, hostConfiguration, method, monitor); - if (status == HttpStatus.SC_OK) { + if (status == HttpStatus.SC_OK && !monitor.isCanceled()) { Header lastModifiedHeader = method.getResponseHeader("Last-Modified"); //$NON-NLS-1$ if (lastModifiedHeader != null) { lastModified = lastModifiedHeader.getValue(); -- cgit v1.2.3