Fix incorrect comment (#9598)

Motivation:

The comment is incorrect and so missleading

Modification:

Correct the comment

Result:

Correct comment in code
This commit is contained in:
liyixin 2019-09-24 16:00:55 +08:00 committed by Norman Maurer
parent 14a820d5fa
commit f81d02bdc7

View File

@ -221,7 +221,7 @@ public class QueryStringEncoder {
* unreserved characters do not need to be encoded, and include uppercase and lowercase * unreserved characters do not need to be encoded, and include uppercase and lowercase
* letters, decimal digits, hyphen, period, underscore, and tilde. * letters, decimal digits, hyphen, period, underscore, and tilde.
* <p> * <p>
* unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" * unreserved = ALPHA / DIGIT / "-" / "_" / "." / "*"
* *
* @param ch the char to be judged whether it need to be encode * @param ch the char to be judged whether it need to be encode
* @return true or false * @return true or false