[강운덕] [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:
Woonduk Kang
2013-08-07 09:39:21 +00:00
parent 0fabdaf228
commit 3eeb26648e
@@ -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) {