Fixed checkstyle issues

This commit is contained in:
Marcin Grzejszczak
2016-01-20 12:36:38 +01:00
parent 1084ca1126
commit 7b6a533498
34 changed files with 491 additions and 462 deletions

View File

@@ -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));
}

View File

@@ -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);
}
}

View File

@@ -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();