未验证 提交 1a27452f 编写于 作者: A Ax1an 提交者: GitHub

Fix IDManager.java note. (#5563)

上级 ea69ae6a
......@@ -275,14 +275,14 @@ public class IDManager {
/**
* @param text normal literal string
* @return Base74 encoded UTF-8 string
* @return Base64 encoded UTF-8 string
*/
private static String encode(String text) {
return new String(Base64.getEncoder().encode(text.getBytes(StandardCharsets.UTF_8)), StandardCharsets.UTF_8);
}
/**
* @param base64text Base74 encoded UTF-8 string
* @param base64text Base64 encoded UTF-8 string
* @return normal literal string
*/
private static String decode(String base64text) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册