Skip to content

Commit ea3add7

Browse files
committed
Spotless apply
1 parent 6836f49 commit ea3add7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dd-java-agent/instrumentation/aws-java-sdk-1.11.0/src/main/java/datadog/trace/instrumentation/aws/v0/AwsSdkClientDecorator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ && traceConfig().isDataStreamsEnabled()) {
268268
if (requestSize != null) {
269269
payloadSize = (long) requestSize;
270270
}
271-
DataStreamsTags tags = DataStreamsTags.createWithDataset("s3", DataStreamsTags.Direction.Outbound, bucket, key, bucket);
271+
DataStreamsTags tags =
272+
DataStreamsTags.createWithDataset(
273+
"s3", DataStreamsTags.Direction.Outbound, bucket, key, bucket);
272274
AgentTracer.get()
273275
.getDataStreamsMonitoring()
274276
.setCheckpoint(span, create(tags, 0, payloadSize));

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ public DataStreamsTags(
207207
kafkaClusterId != null ? KAFKA_CLUSTER_ID_TAG + ":" + kafkaClusterId : null;
208208
this.partition = partition != null ? PARTITION_TAG + ":" + partition : null;
209209

210-
211210
// hashable tags are 0-4
212211
for (int i = 0; i < 7; i++) {
213212
String tag = this.tagByIndex(i);
@@ -234,8 +233,7 @@ public DataStreamsTags(
234233
String tag = this.tagByIndex(i);
235234
if (tag != null) {
236235
this.nonNullSize++;
237-
this.completeHash =
238-
FNV64Hash.continueHash(this.completeHash, tag, FNV64Hash.Version.v1);
236+
this.completeHash = FNV64Hash.continueHash(this.completeHash, tag, FNV64Hash.Version.v1);
239237
}
240238
}
241239
}

0 commit comments

Comments
 (0)