1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

[179293] Coverted remaining RequestMonitor.getStatus().isOK() calls into RequestMonitor.isSuccess().

This commit is contained in:
Pawel Piech 2008-03-27 16:44:13 +00:00
parent 0e806a078c
commit d3fddfd2b9

View file

@ -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);