From 3eeb26648e69de8ddf74b7dc6697a8917cec0f89 Mon Sep 17 00:00:00 2001 From: Woonduk Kang Date: Wed, 7 Aug 2013 09:39:21 +0000 Subject: [PATCH] =?UTF-8?q?[=EA=B0=95=EC=9A=B4=EB=8D=95]=20[LUCYSUS-1744]?= =?UTF-8?q?=20ApplicationName=20=EC=83=9D=EC=84=B1=EC=8B=9C=20byte[]?= =?UTF-8?q?=EB=A5=BC=20=EB=B3=B5=EC=82=AC=ED=95=98=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EA=B0=9C=EC=84=A0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-commons/trunk@2103 84d0f5b1-2673-498c-a247-62c4ff18d310 --- .../nhn/pinpoint/common/util/ApplicationStatisticsUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/nhn/pinpoint/common/util/ApplicationStatisticsUtils.java b/src/main/java/com/nhn/pinpoint/common/util/ApplicationStatisticsUtils.java index 0f0e8f20b..aebdee683 100644 --- a/src/main/java/com/nhn/pinpoint/common/util/ApplicationStatisticsUtils.java +++ b/src/main/java/com/nhn/pinpoint/common/util/ApplicationStatisticsUtils.java @@ -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) {