Skip to content

Commit

Permalink
Fix incorrect comment (#9598)
Browse files Browse the repository at this point in the history
Motivation:

The comment is incorrect and so missleading

Modification:

Correct the comment

Result:

Correct comment in code
  • Loading branch information
Liyixin95 authored and normanmaurer committed Sep 24, 2019
1 parent 5e69a13 commit 86ff76a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private static char forDigit(int digit) {
* unreserved characters do not need to be encoded, and include uppercase and lowercase
* letters, decimal digits, hyphen, period, underscore, and tilde.
* <p>
* unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
* unreserved = ALPHA / DIGIT / "-" / "_" / "." / "*"
*
* @param ch the char to be judged whether it need to be encode
* @return true or false
Expand Down

0 comments on commit 86ff76a

Please sign in to comment.