mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
8a2d3674f6
commit
2d93ca6df4
1 changed files with 74 additions and 77 deletions
|
@ -24,9 +24,7 @@ import org.eclipse.core.runtime.Status;
|
||||||
/**
|
/**
|
||||||
* @see ICModelStatus
|
* @see ICModelStatus
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class CModelStatus extends Status implements ICModelStatus, ICModelStatusConstants {
|
public class CModelStatus extends Status implements ICModelStatus, ICModelStatusConstants {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The elements related to the failure, or <code>null</code> if no
|
* The elements related to the failure, or <code>null</code> if no
|
||||||
* elements are involved.
|
* elements are involved.
|
||||||
|
@ -49,7 +47,7 @@ public class CModelStatus extends Status implements ICModelStatus, ICModelStatus
|
||||||
/**
|
/**
|
||||||
* Empty children
|
* Empty children
|
||||||
*/
|
*/
|
||||||
protected final static IStatus[] fgEmptyChildren = new IStatus[]{};
|
protected final static IStatus[] fgEmptyChildren = {};
|
||||||
protected IStatus[] fChildren = fgEmptyChildren;
|
protected IStatus[] fChildren = fgEmptyChildren;
|
||||||
protected final static String DEFAULT_STRING = "CModelStatus"; //$NON-NLS-1$;
|
protected final static String DEFAULT_STRING = "CModelStatus"; //$NON-NLS-1$;
|
||||||
|
|
||||||
|
@ -281,7 +279,6 @@ public class CModelStatus extends Status implements ICModelStatus, ICModelStatus
|
||||||
|
|
||||||
case NO_LOCAL_CONTENTS:
|
case NO_LOCAL_CONTENTS:
|
||||||
return CoreModelMessages.getFormattedString("status.noLocalContents", getPath().toString()); //$NON-NLS-1$
|
return CoreModelMessages.getFormattedString("status.noLocalContents", getPath().toString()); //$NON-NLS-1$
|
||||||
|
|
||||||
}
|
}
|
||||||
return getString();
|
return getString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue