mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Cosmetics.
This commit is contained in:
parent
fda80f2275
commit
4efa08c95d
1 changed files with 10 additions and 11 deletions
|
@ -41,9 +41,8 @@ public enum StringType {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the StringType value that represesnts the 'wider'
|
* Returns the StringType value that represents the 'wider' of the two given StringTypes.
|
||||||
* of the two given StringTypes.
|
* @throws NullPointerException if an argument is null
|
||||||
* @thows NullPointerException if an argument is null
|
|
||||||
*/
|
*/
|
||||||
public static StringType max(StringType st1, StringType st2) {
|
public static StringType max(StringType st1, StringType st2) {
|
||||||
return values()[Math.max(st1.ordinal(), st2.ordinal())];
|
return values()[Math.max(st1.ordinal(), st2.ordinal())];
|
||||||
|
|
Loading…
Add table
Reference in a new issue