Fixed checkstyle issues
This commit is contained in:
@@ -38,7 +38,7 @@ public class SampleBackground {
|
||||
@SneakyThrows
|
||||
@Async
|
||||
public void background() {
|
||||
int millis = random.nextInt(1000);
|
||||
int millis = this.random.nextInt(1000);
|
||||
Thread.sleep(millis);
|
||||
this.tracer.addTag("background-sleep-millis", String.valueOf(millis));
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ public class IntegrationTestZipkinSpanReporter implements ZipkinSpanReporter {
|
||||
@Override
|
||||
public void report(Span span) {
|
||||
log.debug(span);
|
||||
hashedSpans.add(span);
|
||||
this.hashedSpans.add(span);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ public class MessagingApplicationTests extends AbstractIntegrationTest {
|
||||
}
|
||||
|
||||
private void thenThereIsAtLeastOneBinaryAnnotationWithKey(String binaryAnnotationKey) {
|
||||
then(integrationTestSpanCollector.hashedSpans.stream()
|
||||
then(this.integrationTestSpanCollector.hashedSpans.stream()
|
||||
.map(s -> s.binaryAnnotations)
|
||||
.flatMap(Collection::stream)
|
||||
.anyMatch(b -> b.key.equals(binaryAnnotationKey))).isTrue();
|
||||
|
||||
Reference in New Issue
Block a user