diff --git a/spring-test/src/test/java/org/springframework/test/web/client/samples/SampleAsyncTests.java b/spring-test/src/test/java/org/springframework/test/web/client/samples/SampleAsyncTests.java index 18843a0f5c5..92a3ad9df39 100644 --- a/spring-test/src/test/java/org/springframework/test/web/client/samples/SampleAsyncTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/client/samples/SampleAsyncTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,6 @@ import org.springframework.http.ResponseEntity; import org.springframework.test.web.Person; import org.springframework.test.web.client.MockRestServiceServer; import org.springframework.util.concurrent.ListenableFuture; -import org.springframework.web.client.AsyncRestTemplate; import static org.junit.Assert.*; import static org.springframework.test.web.client.ExpectedCount.manyTimes; @@ -45,7 +44,7 @@ import static org.springframework.test.web.client.response.MockRestResponseCreat @SuppressWarnings("deprecation") public class SampleAsyncTests { - private final AsyncRestTemplate restTemplate = new AsyncRestTemplate(); + private final org.springframework.web.client.AsyncRestTemplate restTemplate = new org.springframework.web.client.AsyncRestTemplate(); private final MockRestServiceServer mockServer = MockRestServiceServer.createServer(this.restTemplate);