1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 01:36:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2015-06-26 15:22:42 -07:00
parent fda80f2275
commit 4efa08c95d

View file

@ -41,9 +41,8 @@ public enum StringType {
}
/**
* Returns the StringType value that represesnts the 'wider'
* of the two given StringTypes.
* @thows NullPointerException if an argument is null
* Returns the StringType value that represents the 'wider' of the two given StringTypes.
* @throws NullPointerException if an argument is null
*/
public static StringType max(StringType st1, StringType st2) {
return values()[Math.max(st1.ordinal(), st2.ordinal())];