部分类标记为废弃

This commit is contained in:
qidaijie
2022-03-08 15:38:58 +08:00
parent daea0a07a1
commit d663e4b5ce
4 changed files with 9 additions and 5 deletions

View File

@@ -59,6 +59,7 @@ class TransFunction {
* @param data 原始数据
* @return 散列结果
*/
@Deprecated
static BigInteger getDecimalHash(long data) {
byte[] dataBytes = String.valueOf(data).getBytes();
long hashValue = CityHash.CityHash64(dataBytes, 0, dataBytes.length);
@@ -115,6 +116,7 @@ class TransFunction {
* @param appIds app id 列表
* @return appName
*/
@Deprecated
static String appMatch(String appIds) {
try {
String appId = StrUtil.split(appIds, FlowWriteConfig.FORMAT_SPLITTER, true, true).get(0);