8173730: Stop including enhanced for-loop tip for enum values() method

Reviewed-by: jjg
This commit is contained in:
Joe Darcy 2018-09-25 11:31:55 -07:00
parent 59fd35292e
commit ce3ef2bc2c

View file

@ -234,12 +234,7 @@ doclet.linkMismatch_ModuleLinkedtoPackage=The code being documented uses modules
#Documentation for Enums #Documentation for Enums
doclet.enum_values_doc.fullbody=\ doclet.enum_values_doc.fullbody=\
Returns an array containing the constants of this enum type, in\n\ Returns an array containing the constants of this enum type, in\n\
the order they are declared. This method may be used to iterate\n\ the order they are declared.
over the constants as follows:\n\
<pre>\n\
for ({0} c : {0}.values())\n\
&nbsp; System.out.println(c);\n\
</pre>
doclet.enum_values_doc.return=\ doclet.enum_values_doc.return=\
an array containing the constants of this enum type, in the order they are declared an array containing the constants of this enum type, in the order they are declared