mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-25 12:46:21 +10:00
[강운덕] [LUCYSUS-1744] 리팩토링, traceId최적화. spanAligner위치 이동 관련 수정.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-commons/trunk@781 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -19,13 +19,13 @@ public class BytesUtils {
|
||||
}
|
||||
long[] result = new long[2];
|
||||
|
||||
result[0] = byteToFirstLong(buf);
|
||||
result[1] = byteToSecondLong(buf);
|
||||
result[0] = bytesToFirstLong(buf);
|
||||
result[1] = bytesToSecondLong(buf);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public static long byteToLong(byte[] buf, int offset) {
|
||||
public static long bytesToLong(byte[] buf, int offset) {
|
||||
if (buf == null) {
|
||||
throw new NullPointerException("buf must not be null");
|
||||
}
|
||||
@@ -44,7 +44,7 @@ public class BytesUtils {
|
||||
return rv;
|
||||
}
|
||||
|
||||
public static long byteToFirstLong(byte[] buf) {
|
||||
public static long bytesToFirstLong(byte[] buf) {
|
||||
if (buf == null) {
|
||||
throw new NullPointerException("buf must not be null");
|
||||
}
|
||||
@@ -63,7 +63,7 @@ public class BytesUtils {
|
||||
return rv;
|
||||
}
|
||||
|
||||
public static long byteToSecondLong(byte[] buf) {
|
||||
public static long bytesToSecondLong(byte[] buf) {
|
||||
if (buf == null) {
|
||||
throw new NullPointerException("buf must not be null");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user