mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 322269 StandaloneIndexerTask creates status with a wrong status code
This commit is contained in:
parent
130420ce3c
commit
19646e5f50
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006, 2009 Wind River Systems, Inc. and others.
|
* Copyright (c) 2006, 2010 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -185,7 +185,7 @@ public abstract class StandaloneIndexerTask extends AbstractIndexerTask {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected IStatus createStatus(String msg) {
|
protected IStatus createStatus(String msg) {
|
||||||
return new Status(IStatus.ERROR, "org.eclipse.cdt.core", IStatus.ERROR, msg, null); //$NON-NLS-1$
|
return new Status(IStatus.ERROR, "org.eclipse.cdt.core", msg, null); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -195,7 +195,7 @@ public abstract class StandaloneIndexerTask extends AbstractIndexerTask {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected IStatus createStatus(String msg, Throwable e) {
|
protected IStatus createStatus(String msg, Throwable e) {
|
||||||
return new Status(IStatus.ERROR, "org.eclipse.cdt.core", IStatus.ERROR, msg, e); //$NON-NLS-1$
|
return new Status(IStatus.ERROR, "org.eclipse.cdt.core", msg, e); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
|
Loading…
Add table
Reference in a new issue