Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-05-25 17:13:56 -0400
committerrelves2010-05-25 17:13:56 -0400
commit9fe99bd2583b510bba69e88468912254ecdb0ba4 (patch)
treef0d8a5eb97bb550daa960a3a68beea1dd987718e /org.eclipse.mylyn.tasks.core
parent025d94cfd9cb3e713f8c202d284ab992335ecd63 (diff)
downloadorg.eclipse.mylyn.tasks-9fe99bd2583b510bba69e88468912254ecdb0ba4.tar.gz
org.eclipse.mylyn.tasks-9fe99bd2583b510bba69e88468912254ecdb0ba4.tar.xz
org.eclipse.mylyn.tasks-9fe99bd2583b510bba69e88468912254ecdb0ba4.zip
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
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/notifications/ServiceMessageManager.java2
1 files changed, 1 insertions, 1 deletions
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();

Back to the top