BAEL-574 - Removing redundant pattern check

This commit is contained in:
slavisa-baeldung 2017-03-05 07:29:47 +01:00
parent 348adc878b
commit 28fe826e3b
2 changed files with 2 additions and 3 deletions

View File

@ -45,7 +45,6 @@ public class BookServiceApplication {
delegate = new HttpZipkinSpanReporter(baseUrl, zipkinProperties.getFlushInterval(), zipkinProperties.getCompression().isEnabled(), spanMetricReporter);
if (!span.name.matches(skipPattern)) delegate.report(span);
}
if (!span.name.matches(skipPattern)) delegate.report(span);
}
};
}