1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets.properties Tue Aug 20 14:15:45 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets.properties Tue Aug 20 14:46:54 2013 -0700 1.3 @@ -176,25 +176,32 @@ 1.4 doclet.0_and_1={0} and {1} 1.5 1.6 #Documentation for Enums 1.7 -doclet.enum_values_doc=\n\ 1.8 +doclet.enum_values_doc.main=\n\ 1.9 Returns an array containing the constants of this enum type, in\n\ 1.10 the order they are declared. This method may be used to iterate\n\ 1.11 over the constants as follows:\n\ 1.12 <pre>\n\ 1.13 for ({0} c : {0}.values())\n\ 1.14 System.out.println(c);\n\ 1.15 - </pre>\n\ 1.16 - @return an array containing the constants of this enum type, in\n\ 1.17 - the order they are declared 1.18 + </pre> 1.19 1.20 -doclet.enum_valueof_doc=\n\ 1.21 +doclet.enum_values_doc.return=\n\ 1.22 + an array containing the constants of this enum type, in the order they are declared 1.23 + 1.24 +doclet.enum_valueof_doc.main=\n\ 1.25 Returns the enum constant of this type with the specified name.\n\ 1.26 The string must match <i>exactly</i> an identifier used to declare an\n\ 1.27 enum constant in this type. (Extraneous whitespace characters are \n\ 1.28 - not permitted.)\n\ 1.29 - \n\ 1.30 - @param name the name of the enum constant to be returned.\n\ 1.31 - @return the enum constant with the specified name\n\ 1.32 - @throws IllegalArgumentException if this enum type has no constant\n\ 1.33 - with the specified name\n\ 1.34 - @throws NullPointerException if the argument is null 1.35 + not permitted.) 1.36 + 1.37 +doclet.enum_valueof_doc.param_name=\ 1.38 + the name of the enum constant to be returned. 1.39 + 1.40 +doclet.enum_valueof_doc.return=\ 1.41 + the enum constant with the specified name 1.42 + 1.43 +doclet.enum_valueof_doc.throws_ila=\ 1.44 + if this enum type has no constant with the specified name 1.45 + 1.46 +doclet.enum_valueof_doc.throws_npe=\ 1.47 + if the argument is null