Skip to content

Commit 8d2783b

Browse files
committed
Fix spotless issues after version bumpi
1 parent aad87e3 commit 8d2783b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

appsignals-tests/contract-tests/src/test/java/software/amazon/opentelemetry/appsignals/test/base/JMXMetricsContractTestBase.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ protected void assertMetrics() {
6060
protected long getThreshold(String metricName) {
6161
long threshold = 0;
6262
switch (metricName) {
63-
// If maximum memory size is undefined, then value is -1
64-
// https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/MemoryUsage.html#getMax()
65-
// Thread count can be negative when excutor is null
66-
// https://github.com/apache/tomcat/blob/1afe41491f0e56ec0a776db5ff84607f87ce6640/java/org/apache/tomcat/util/net/AbstractEndpoint.java#L1204
63+
// If maximum memory size is undefined, then value is -1
64+
// https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/MemoryUsage.html#getMax()
65+
// Thread count can be negative when excutor is null
66+
// https://github.com/apache/tomcat/blob/1afe41491f0e56ec0a776db5ff84607f87ce6640/java/org/apache/tomcat/util/net/AbstractEndpoint.java#L1204
6767
case JMXMetricsConstants.TOMCAT_THREADS:
6868
threshold = -2;
6969
break;

awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsMetricAttributeGenerator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,17 +455,17 @@ private static String normalizeRemoteServiceName(SpanData span, String serviceNa
455455
case "AmazonSQS": // AWS SDK v1
456456
case "Sqs": // AWS SDK v2
457457
return NORMALIZED_SQS_SERVICE_NAME;
458-
// For Bedrock, Bedrock Agent, and Bedrock Agent Runtime, we can align with AWS Cloud
459-
// Control and use AWS::Bedrock for RemoteService.
458+
// For Bedrock, Bedrock Agent, and Bedrock Agent Runtime, we can align with AWS Cloud
459+
// Control and use AWS::Bedrock for RemoteService.
460460
case "AmazonBedrock": // AWS SDK v1
461461
case "Bedrock": // AWS SDK v2
462462
case "AWSBedrockAgentRuntime": // AWS SDK v1
463463
case "BedrockAgentRuntime": // AWS SDK v2
464464
case "AWSBedrockAgent": // AWS SDK v1
465465
case "BedrockAgent": // AWS SDK v2
466466
return NORMALIZED_BEDROCK_SERVICE_NAME;
467-
// For BedrockRuntime, we are using AWS::BedrockRuntime as the associated remote resource
468-
// (Model) is not listed in Cloud Control.
467+
// For BedrockRuntime, we are using AWS::BedrockRuntime as the associated remote resource
468+
// (Model) is not listed in Cloud Control.
469469
case "AmazonBedrockRuntime": // AWS SDK v1
470470
case "BedrockRuntime": // AWS SDK v2
471471
return NORMALIZED_BEDROCK_RUNTIME_SERVICE_NAME;

0 commit comments

Comments
 (0)