From d3fddfd2b9edeac7d13e35710304197f32482806 Mon Sep 17 00:00:00 2001 From: Pawel Piech Date: Thu, 27 Mar 2008 16:44:13 +0000 Subject: [PATCH] [179293] Coverted remaining RequestMonitor.getStatus().isOK() calls into RequestMonitor.isSuccess(). --- .../org/eclipse/dd/dsf/debug/service/command/CommandCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.eclipse.dd.dsf.debug/src/org/eclipse/dd/dsf/debug/service/command/CommandCache.java b/plugins/org.eclipse.dd.dsf.debug/src/org/eclipse/dd/dsf/debug/service/command/CommandCache.java index 2f27c08b22d..27e25cf5fde 100644 --- a/plugins/org.eclipse.dd.dsf.debug/src/org/eclipse/dd/dsf/debug/service/command/CommandCache.java +++ b/plugins/org.eclipse.dd.dsf.debug/src/org/eclipse/dd/dsf/debug/service/command/CommandCache.java @@ -253,7 +253,7 @@ public class CommandCache implements ICommandListener */ if(fCachedContexts.get(context) != null && fCachedContexts.get(context).containsKey(cachedCmd)){ CommandResultInfo result = fCachedContexts.get(context).get(cachedCmd); - if (result.getStatus().isOK()) { + if (result.getStatus().getSeverity() <= IStatus.INFO) { @SuppressWarnings("unchecked") V v = (V)result.getData(); rm.setData(v);