mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-29 06:36:46 +10:00
[강운덕] [LUCYSUS-1744] ApplicationName 생성시 byte[]를 복사하지 않도록 개선.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-commons/trunk@2103 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -77,9 +77,7 @@ public class ApplicationStatisticsUtils {
|
||||
|
||||
public static String getApplicationNameFromRowKey(byte[] bytes) {
|
||||
short applicationNameLength = BytesUtils.bytesToShort(bytes, 0);
|
||||
byte[] temp = new byte[applicationNameLength];
|
||||
System.arraycopy(bytes, 2, temp, 0, applicationNameLength);
|
||||
return new String(temp); //.trim();
|
||||
return new String(bytes, 2, applicationNameLength); //.trim();
|
||||
}
|
||||
|
||||
public static short getApplicationTypeFromRowKey(byte[] bytes) {
|
||||
|
||||
Reference in New Issue
Block a user