Fix IDManager.java note. (#5563)
This commit is contained in:
parent
ea69ae6a58
commit
1a27452ffc
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue