Skip to content

Commit 86ff76a

Browse files
Liyixin95normanmaurer
authored andcommitted
Fix incorrect comment (#9598)
Motivation: The comment is incorrect and so missleading Modification: Correct the comment Result: Correct comment in code
1 parent 5e69a13 commit 86ff76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codec-http/src/main/java/io/netty/handler/codec/http/QueryStringEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private static char forDigit(int digit) {
219219
* unreserved characters do not need to be encoded, and include uppercase and lowercase
220220
* letters, decimal digits, hyphen, period, underscore, and tilde.
221221
* <p>
222-
* unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
222+
* unreserved = ALPHA / DIGIT / "-" / "_" / "." / "*"
223223
*
224224
* @param ch the char to be judged whether it need to be encode
225225
* @return true or false

0 commit comments

Comments
 (0)