From 19646e5f5031d5a820c0af8de37af4034239c30f Mon Sep 17 00:00:00 2001 From: Vivian Kong Date: Tue, 10 Aug 2010 19:43:26 +0000 Subject: [PATCH] Bug 322269 StandaloneIndexerTask creates status with a wrong status code --- .../cdt/internal/core/indexer/StandaloneIndexerTask.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/indexer/StandaloneIndexerTask.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/indexer/StandaloneIndexerTask.java index d231bea581c..082e4da6785 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/indexer/StandaloneIndexerTask.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/indexer/StandaloneIndexerTask.java @@ -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 * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -185,7 +185,7 @@ public abstract class StandaloneIndexerTask extends AbstractIndexerTask { */ @Override 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 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)