changeset 51872:a6bdb6d5f167

8173730: Stop including enhanced for-loop tip for enum values() method Reviewed-by: jjg
author darcy
date Tue, 25 Sep 2018 11:31:55 -0700
parents 8f66a57054b7
children e0153fc0a843
files src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties	Tue Sep 25 10:30:32 2018 -0700
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties	Tue Sep 25 11:31:55 2018 -0700
@@ -234,12 +234,7 @@
 #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\
- &nbsp;   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