50 lines
2.3 KiB
Diff
50 lines
2.3 KiB
Diff
|
|
Subject: Backport of 8337245: Fix wrong comment of StringConcatHelper
|
||
|
|
|
||
|
|
---
|
||
|
|
.../share/classes/java/lang/StringConcatHelper.java | 8 ++++----
|
||
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/src/java.base/share/classes/java/lang/StringConcatHelper.java b/src/java.base/share/classes/java/lang/StringConcatHelper.java
|
||
|
|
index 139181af0..db4b2d690 100644
|
||
|
|
--- a/src/java.base/share/classes/java/lang/StringConcatHelper.java
|
||
|
|
+++ b/src/java.base/share/classes/java/lang/StringConcatHelper.java
|
||
|
|
@@ -228,7 +228,7 @@ final class StringConcatHelper {
|
||
|
|
* @param indexCoder final char index in the buffer, along with coder packed
|
||
|
|
* into higher bits.
|
||
|
|
* @param buf buffer to append to
|
||
|
|
- * @param value boolean value to encode
|
||
|
|
+ * @param value char value to encode
|
||
|
|
* @param prefix a constant to prepend before value
|
||
|
|
* @return updated index (coder value retained)
|
||
|
|
*/
|
||
|
|
@@ -263,7 +263,7 @@ final class StringConcatHelper {
|
||
|
|
* @param indexCoder final char index in the buffer, along with coder packed
|
||
|
|
* into higher bits.
|
||
|
|
* @param buf buffer to append to
|
||
|
|
- * @param value boolean value to encode
|
||
|
|
+ * @param value int value to encode
|
||
|
|
* @param prefix a constant to prepend before value
|
||
|
|
* @return updated index (coder value retained)
|
||
|
|
*/
|
||
|
|
@@ -298,7 +298,7 @@ final class StringConcatHelper {
|
||
|
|
* @param indexCoder final char index in the buffer, along with coder packed
|
||
|
|
* into higher bits.
|
||
|
|
* @param buf buffer to append to
|
||
|
|
- * @param value boolean value to encode
|
||
|
|
+ * @param value long value to encode
|
||
|
|
* @param prefix a constant to prepend before value
|
||
|
|
* @return updated index (coder value retained)
|
||
|
|
*/
|
||
|
|
@@ -335,7 +335,7 @@ final class StringConcatHelper {
|
||
|
|
* @param indexCoder final char index in the buffer, along with coder packed
|
||
|
|
* into higher bits.
|
||
|
|
* @param buf buffer to append to
|
||
|
|
- * @param value boolean value to encode
|
||
|
|
+ * @param value String value to encode
|
||
|
|
* @param prefix a constant to prepend before value
|
||
|
|
* @return updated index (coder value retained)
|
||
|
|
*/
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|