From 40821c21841fcfb67f801cef54507404baf1c1dc Mon Sep 17 00:00:00 2001 From: Pawel Piech Date: Mon, 28 Sep 2009 21:56:31 +0000 Subject: [PATCH] Update a comment. --- .../dsf/ui/viewmodel/update/AbstractCachingVMProvider.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java index 001738899c2..1a53d233919 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java @@ -1141,7 +1141,9 @@ public class AbstractCachingVMProvider extends AbstractVMProvider } } else { // We are not caching the result of this update, but we should still - // return valid data to the client. + // return valid data to the client. In case the update was canceled + // we can also return valid data to the client even if the client + // is likely to ignore it since the cost of doing so is relatively low. properties = new HashMap(getData().size() + 1 * 4/3); properties.put(PROP_CACHE_ENTRY_DIRTY, Boolean.TRUE); properties.putAll(getData());