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:
parent
0e806a078c
commit
d3fddfd2b9
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ public class CommandCache implements ICommandListener
|
||||||
*/
|
*/
|
||||||
if(fCachedContexts.get(context) != null && fCachedContexts.get(context).containsKey(cachedCmd)){
|
if(fCachedContexts.get(context) != null && fCachedContexts.get(context).containsKey(cachedCmd)){
|
||||||
CommandResultInfo result = fCachedContexts.get(context).get(cachedCmd);
|
CommandResultInfo result = fCachedContexts.get(context).get(cachedCmd);
|
||||||
if (result.getStatus().isOK()) {
|
if (result.getStatus().getSeverity() <= IStatus.INFO) {
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
V v = (V)result.getData();
|
V v = (V)result.getData();
|
||||||
rm.setData(v);
|
rm.setData(v);
|
||||||
|
|
Loading…
Add table
Reference in a new issue