[#ISSUE 9733] return origin key if value is null in StringPool.get() (#9798)

This commit is contained in:
MajorHe1 2023-01-09 13:55:31 +08:00 committed by GitHub
parent aa6ce2eadf
commit 5ac56885a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ public class StringPool {
value = GROUP_KEY_CACHE.get(key);
}
return value;
return value == null ? key : value;
}
public static long size() {