1 Star 0 Fork 13

佛系少年中二/openjdk-21

forked from src-openEuler/openjdk-21 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Backport-of-8337245-Fix-wrong-comment-of-StringConca.patch 2.28 KB
一键复制 编辑 原始数据 按行查看 历史
wuyafang 提交于 2024-10-14 11:38 . sync bishengjdk21 patches
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Autistic_boyya/openjdk-21.git
[email protected]:Autistic_boyya/openjdk-21.git
Autistic_boyya
openjdk-21
openjdk-21
master

搜索帮助