mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8173730: Stop including enhanced for-loop tip for enum values() method
Reviewed-by: jjg
This commit is contained in:
parent
59fd35292e
commit
ce3ef2bc2c
1 changed files with 1 additions and 6 deletions
|
@ -234,12 +234,7 @@ doclet.linkMismatch_ModuleLinkedtoPackage=The code being documented uses modules
|
|||
#Documentation for Enums
|
||||
doclet.enum_values_doc.fullbody=\
|
||||
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\
|
||||
over the constants as follows:\n\
|
||||
<pre>\n\
|
||||
for ({0} c : {0}.values())\n\
|
||||
System.out.println(c);\n\
|
||||
</pre>
|
||||
the order they are declared.
|
||||
|
||||
doclet.enum_values_doc.return=\
|
||||
an array containing the constants of this enum type, in the order they are declared
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue