# HG changeset patch # User darcy # Date 1537900315 25200 # Node ID a6bdb6d5f167dbbbaee704fe0daf604adb0ba5d0 # Parent 8f66a57054b76d1131cfc35ff93a5b28322f707b 8173730: Stop including enhanced for-loop tip for enum values() method Reviewed-by: jjg diff -r 8f66a57054b7 -r a6bdb6d5f167 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties --- 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\ -
\n\
- for ({0} c : {0}.values())\n\
-     System.out.println(c);\n\
- 
+ 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