8225151: JShell API: Fix position of @jls tag
authorrfield
Mon, 03 Jun 2019 07:46:47 -0700
changeset 55155 4ffd6a955e92
parent 55154 fdddd05767ce
child 55156 1c291d1c272c
8225151: JShell API: Fix position of @jls tag Reviewed-by: jjg
src/jdk.jshell/share/classes/jdk/jshell/Snippet.java
--- a/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java	Mon Jun 03 13:35:08 2019 +0200
+++ b/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java	Mon Jun 03 07:46:47 2019 -0700
@@ -73,9 +73,10 @@
          * ({@link jdk.jshell.Snippet.SubKind#SINGLE_STATIC_IMPORT_SUBKIND}) --
          * use {@link jdk.jshell.Snippet#subKind()} to distinguish.
          *
-         * @jls 7.5 Import Declarations
          * <P>
          * An import declaration is {@linkplain Kind#isPersistent() persistent}.
+         *
+         * @jls 7.5 Import Declarations
          */
         IMPORT(true),
 
@@ -91,9 +92,10 @@
          * annotation interfaces -- see {@link jdk.jshell.Snippet.SubKind} to
          * differentiate.
          *
-         * @jls 7.6 Top Level Type Declarations
          * <P>
          * A type declaration is {@linkplain Kind#isPersistent() persistent}.
+         *
+         * @jls 7.6 Top Level Type Declarations
          */
         TYPE_DECL(true),
 
@@ -101,9 +103,10 @@
          * A method declaration.
          * The snippet is an instance of {@link jdk.jshell.MethodSnippet}.
          *
-         * @jls 8.4 Method Declarations
          * <P>
          * A method declaration is {@linkplain Kind#isPersistent() persistent}.
+         *
+         * @jls 8.4 Method Declarations
          */
         METHOD(true),
 
@@ -116,9 +119,10 @@
          * variable representing an expression -- see
          * {@link jdk.jshell.Snippet.SubKind}to differentiate.
          *
-         * @jls 8.3 Field Declarations
          * <P>
          * A variable declaration is {@linkplain Kind#isPersistent() persistent}.
+         *
+         * @jls 8.3 Field Declarations
          */
         VAR(true),