Skip to content

Commit 669386a

Browse files
committed
Organize imports in Spring MVC Test classes
1 parent c60c1ce commit 669386a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

spring-test/src/main/java/org/springframework/test/web/client/MockRestServiceServer.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,27 +13,23 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package org.springframework.test.web.client;
1718

1819
import java.io.IOException;
19-
import java.io.OutputStream;
2020
import java.net.URI;
2121
import java.util.Iterator;
2222
import java.util.LinkedList;
2323
import java.util.List;
2424

25-
import org.springframework.http.HttpHeaders;
2625
import org.springframework.http.HttpMethod;
2726
import org.springframework.http.client.AsyncClientHttpRequest;
2827
import org.springframework.http.client.AsyncClientHttpRequestFactory;
2928
import org.springframework.http.client.ClientHttpRequest;
3029
import org.springframework.http.client.ClientHttpRequestFactory;
31-
import org.springframework.http.client.ClientHttpResponse;
3230
import org.springframework.test.web.client.match.MockRestRequestMatchers;
3331
import org.springframework.test.web.client.response.MockRestResponseCreators;
3432
import org.springframework.util.Assert;
35-
import org.springframework.util.concurrent.ListenableFuture;
36-
import org.springframework.util.concurrent.SettableListenableFuture;
3733
import org.springframework.web.client.AsyncRestTemplate;
3834
import org.springframework.web.client.RestTemplate;
3935
import org.springframework.web.client.support.RestGatewaySupport;

spring-test/src/main/java/org/springframework/test/web/client/RequestMatcherClientHttpRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package org.springframework.test.web.client;
1718

1819
import java.io.IOException;
@@ -21,7 +22,6 @@
2122

2223
import org.springframework.http.client.ClientHttpResponse;
2324
import org.springframework.mock.http.client.MockAsyncClientHttpRequest;
24-
import org.springframework.mock.http.client.MockClientHttpRequest;
2525
import org.springframework.util.Assert;
2626

2727
/**

0 commit comments

Comments
 (0)