diff --git a/aws-xray-recorder-sdk-aws-sdk-v2/src/main/java/com/amazonaws/xray/interceptors/TracingInterceptor.java b/aws-xray-recorder-sdk-aws-sdk-v2/src/main/java/com/amazonaws/xray/interceptors/TracingInterceptor.java index 271f9731..1c0ed819 100644 --- a/aws-xray-recorder-sdk-aws-sdk-v2/src/main/java/com/amazonaws/xray/interceptors/TracingInterceptor.java +++ b/aws-xray-recorder-sdk-aws-sdk-v2/src/main/java/com/amazonaws/xray/interceptors/TracingInterceptor.java @@ -65,7 +65,8 @@ public class TracingInterceptor implements ExecutionInterceptor { public static final ExecutionAttribute entityKey = new ExecutionAttribute("AWS X-Ray Entity"); // Make sure only one xray interceptor takes effect. - private static final ExecutionAttribute XRAY_INTERCEPTOR_KEY = new ExecutionAttribute("AWS X-Ray Interceptor"); + private static final ExecutionAttribute XRAY_INTERCEPTOR_KEY = + new ExecutionAttribute("AWS X-Ray Interceptor"); private static final Log logger = LogFactory.getLog(TracingInterceptor.class); diff --git a/aws-xray-recorder-sdk-aws-sdk-v2/src/test/java/com/amazonaws/xray/interceptors/TracingInterceptorTest.java b/aws-xray-recorder-sdk-aws-sdk-v2/src/test/java/com/amazonaws/xray/interceptors/TracingInterceptorTest.java index 18c69cca..2591effd 100644 --- a/aws-xray-recorder-sdk-aws-sdk-v2/src/test/java/com/amazonaws/xray/interceptors/TracingInterceptorTest.java +++ b/aws-xray-recorder-sdk-aws-sdk-v2/src/test/java/com/amazonaws/xray/interceptors/TracingInterceptorTest.java @@ -17,7 +17,6 @@ import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.never; -import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when;