From e6118ce784342e1f1996f1569cf636a6b435145d Mon Sep 17 00:00:00 2001 From: Jonathan Gibbons Date: Wed, 24 Apr 2024 20:45:23 +0000 Subject: [PATCH] 8331018: Clean up non-standard use of /** comments in `jdk.jshell` Reviewed-by: iris, darcy, jlahoda --- src/jdk.jshell/share/classes/jdk/jshell/DeclarationSnippet.java | 2 +- src/jdk.jshell/share/classes/jdk/jshell/ExpressionSnippet.java | 2 +- src/jdk.jshell/share/classes/jdk/jshell/ImportSnippet.java | 2 +- .../share/classes/jdk/jshell/MaskCommentsAndModifiers.java | 2 +- src/jdk.jshell/share/classes/jdk/jshell/MethodSnippet.java | 2 +- src/jdk.jshell/share/classes/jdk/jshell/Snippet.java | 2 +- src/jdk.jshell/share/classes/jdk/jshell/TypeDeclSnippet.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/jdk.jshell/share/classes/jdk/jshell/DeclarationSnippet.java b/src/jdk.jshell/share/classes/jdk/jshell/DeclarationSnippet.java index 1e6cc0f4534..df21f178989 100644 --- a/src/jdk.jshell/share/classes/jdk/jshell/DeclarationSnippet.java +++ b/src/jdk.jshell/share/classes/jdk/jshell/DeclarationSnippet.java @@ -65,7 +65,7 @@ public abstract class DeclarationSnippet extends PersistentSnippet { this.bodyReferences = bodyReferences; } - /**** internal access ****/ + //*** internal access **** /** * @return the corralled guts diff --git a/src/jdk.jshell/share/classes/jdk/jshell/ExpressionSnippet.java b/src/jdk.jshell/share/classes/jdk/jshell/ExpressionSnippet.java index 887e8dc9a34..064bcbaf556 100644 --- a/src/jdk.jshell/share/classes/jdk/jshell/ExpressionSnippet.java +++ b/src/jdk.jshell/share/classes/jdk/jshell/ExpressionSnippet.java @@ -65,7 +65,7 @@ public class ExpressionSnippet extends Snippet { return key().typeName(); } - /**** internal access ****/ + //**** internal access **** @Override ExpressionKey key() { diff --git a/src/jdk.jshell/share/classes/jdk/jshell/ImportSnippet.java b/src/jdk.jshell/share/classes/jdk/jshell/ImportSnippet.java index ea30984b640..188b34ab183 100644 --- a/src/jdk.jshell/share/classes/jdk/jshell/ImportSnippet.java +++ b/src/jdk.jshell/share/classes/jdk/jshell/ImportSnippet.java @@ -96,7 +96,7 @@ public class ImportSnippet extends PersistentSnippet { return isStatic; } - /**** internal access ****/ + //**** internal access **** @Override ImportKey key() { diff --git a/src/jdk.jshell/share/classes/jdk/jshell/MaskCommentsAndModifiers.java b/src/jdk.jshell/share/classes/jdk/jshell/MaskCommentsAndModifiers.java index 8d5198758fb..5a6c1688dc0 100644 --- a/src/jdk.jshell/share/classes/jdk/jshell/MaskCommentsAndModifiers.java +++ b/src/jdk.jshell/share/classes/jdk/jshell/MaskCommentsAndModifiers.java @@ -107,7 +107,7 @@ class MaskCommentsAndModifiers { return openToken; } - /****** private implementation methods ******/ + //****** private implementation methods ****** /** * Read the next character diff --git a/src/jdk.jshell/share/classes/jdk/jshell/MethodSnippet.java b/src/jdk.jshell/share/classes/jdk/jshell/MethodSnippet.java index c231fbe672d..3642ed3fc06 100644 --- a/src/jdk.jshell/share/classes/jdk/jshell/MethodSnippet.java +++ b/src/jdk.jshell/share/classes/jdk/jshell/MethodSnippet.java @@ -85,7 +85,7 @@ public class MethodSnippet extends DeclarationSnippet { return sb.toString(); } - /**** internal access ****/ + //**** internal access **** @Override MethodKey key() { diff --git a/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java b/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java index 70e556e40f2..2b4d817a588 100644 --- a/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java +++ b/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java @@ -593,7 +593,7 @@ public abstract class Snippet { setSequenceNumber(0); } - /**** public access ****/ + //**** public access **** /** * The unique identifier for the snippet. No two active snippets will have diff --git a/src/jdk.jshell/share/classes/jdk/jshell/TypeDeclSnippet.java b/src/jdk.jshell/share/classes/jdk/jshell/TypeDeclSnippet.java index 0e71784ec08..fb6378b24f9 100644 --- a/src/jdk.jshell/share/classes/jdk/jshell/TypeDeclSnippet.java +++ b/src/jdk.jshell/share/classes/jdk/jshell/TypeDeclSnippet.java @@ -50,7 +50,7 @@ public class TypeDeclSnippet extends DeclarationSnippet { declareReferences, bodyReferences, syntheticDiags); } - /**** internal access ****/ + //**** internal access **** @Override TypeDeclKey key() {