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 5e69a13c21
commit 86ff76a4f7

View File

@ -219,7 +219,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