mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed pseudo-Latin spelling.
This commit is contained in:
parent
035808c3ae
commit
57bc11078d
1 changed files with 21 additions and 22 deletions
|
@ -19,11 +19,10 @@ import org.eclipse.jface.dialogs.IMessageProvider;
|
||||||
* A utility class to work with IStatus.
|
* A utility class to work with IStatus.
|
||||||
*/
|
*/
|
||||||
public class StatusUtil {
|
public class StatusUtil {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compares two instances of <code>IStatus</code>. The more severe is returned:
|
* Compares two instances of <code>IStatus</code>. The more severe is returned:
|
||||||
* An error is more severe than a warning, and a warning is more severe
|
* An error is more severe than a warning, and a warning is more severe
|
||||||
* than ok. If the two stati have the same severity, the second is returned.
|
* than ok. If the two statuses have the same severity, the second is returned.
|
||||||
*/
|
*/
|
||||||
public static IStatus getMoreSevere(IStatus s1, IStatus s2) {
|
public static IStatus getMoreSevere(IStatus s1, IStatus s2) {
|
||||||
if (s1.getSeverity() > s2.getSeverity()) {
|
if (s1.getSeverity() > s2.getSeverity()) {
|
||||||
|
@ -33,7 +32,7 @@ public class StatusUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds the most severe status from a array of stati.
|
* Finds the most severe status from a array of statuses.
|
||||||
* An error is more severe than a warning, and a warning is more severe
|
* An error is more severe than a warning, and a warning is more severe
|
||||||
* than ok.
|
* than ok.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue