Bumping versions
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<sonar.skip>true</sonar.skip>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<spring-boot.version>2.2.0.BUILD-SNAPSHOT</spring-boot.version>
|
||||
<spring-boot.version>2.2.0.RC1</spring-boot.version>
|
||||
<brave.version>5.8.0</brave.version>
|
||||
</properties>
|
||||
|
||||
|
||||
@@ -237,7 +237,8 @@ class RestTemplateInterceptorInjector {
|
||||
|
||||
private boolean hasTraceInterceptor(RestTemplate restTemplate) {
|
||||
for (ClientHttpRequestInterceptor interceptor : restTemplate.getInterceptors()) {
|
||||
if (interceptor instanceof TracingClientHttpRequestInterceptor || interceptor instanceof LazyTracingClientHttpRequestInterceptor) {
|
||||
if (interceptor instanceof TracingClientHttpRequestInterceptor
|
||||
|| interceptor instanceof LazyTracingClientHttpRequestInterceptor) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -104,7 +104,8 @@ public class TraceWebClientAutoConfigurationTests {
|
||||
.containsOnlyElementsOf(Collections.singletonList(1));
|
||||
}
|
||||
|
||||
private void incrementNumberOfInstances(Map<Class, Integer> numberOfInstances, ClientHttpRequestInterceptor interceptor) {
|
||||
private void incrementNumberOfInstances(Map<Class, Integer> numberOfInstances,
|
||||
ClientHttpRequestInterceptor interceptor) {
|
||||
Integer no = numberOfInstances.get(interceptor.getClass());
|
||||
if (no == null) {
|
||||
numberOfInstances.put(interceptor.getClass(), 1);
|
||||
|
||||
Reference in New Issue
Block a user