Skip to content

Commit cd5073f

Browse files
committed
Spotless apply
1 parent b559bdf commit cd5073f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

internal-api/src/main/java/datadog/trace/api/datastreams/DataStreamsTags.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ public enum Direction {
5656

5757
public static byte[] longToBytes(long val) {
5858
return new byte[] {
59-
(byte) (val >> 56),
60-
(byte) (val >> 48),
61-
(byte) (val >> 40),
62-
(byte) (val >> 32),
63-
(byte) (val >> 24),
64-
(byte) (val >> 16),
65-
(byte) (val >> 8),
66-
(byte) val
59+
(byte) (val >> 56),
60+
(byte) (val >> 48),
61+
(byte) (val >> 40),
62+
(byte) (val >> 32),
63+
(byte) (val >> 24),
64+
(byte) (val >> 16),
65+
(byte) (val >> 8),
66+
(byte) val
6767
};
6868
}
6969

internal-api/src/test/groovy/datadog/trace/api/datastreams/DataStreamsTagsTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ class DataStreamsTagsTest extends Specification {
5656
"has_routing_key:true",
5757
"kafka_cluster_id:kafka_cluster_id",
5858
"partition:partition"
59-
)
59+
)
6060
!tags.hasAllTags("garbage")
6161
}
6262

6363
def 'test long to bytes'() {
6464
setup:
6565
def value = 123444L
6666
def bts = DataStreamsTags.longToBytes(value)
67-
ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES);
67+
ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES)
6868
buffer.putLong(value)
6969
def ctrl = buffer.array()
7070
expect:

0 commit comments

Comments
 (0)