Skip to content

Commit 24adc7d

Browse files
committed
Delete unused imports
1 parent 95f7180 commit 24adc7d

File tree

6 files changed

+2
-11
lines changed

6 files changed

+2
-11
lines changed

spring-web/src/main/java/org/springframework/http/codec/json/Jackson2SmileDecoder.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,10 @@
1717
package org.springframework.http.codec.json;
1818

1919
import java.nio.charset.StandardCharsets;
20-
import java.util.Arrays;
21-
import java.util.Collections;
22-
import java.util.List;
2320

2421
import com.fasterxml.jackson.databind.ObjectMapper;
2522
import com.fasterxml.jackson.dataformat.smile.SmileFactory;
2623

27-
import org.springframework.http.MediaType;
2824
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder;
2925
import org.springframework.util.Assert;
3026
import org.springframework.util.MimeType;

spring-web/src/main/java/org/springframework/http/codec/json/Jackson2SmileEncoder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package org.springframework.http.codec.json;
1818

1919
import java.nio.charset.StandardCharsets;
20-
import java.util.Collections;
2120
import java.util.List;
2221

2322
import com.fasterxml.jackson.databind.ObjectMapper;

spring-web/src/main/java/org/springframework/http/server/reactive/ReactorServerHttpRequest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 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.
@@ -36,7 +36,6 @@
3636
import org.springframework.util.Assert;
3737
import org.springframework.util.LinkedMultiValueMap;
3838
import org.springframework.util.MultiValueMap;
39-
import org.springframework.util.StringUtils;
4039

4140
/**
4241
* Adapt {@link ServerHttpRequest} to the Reactor {@link HttpServerRequest}.

spring-web/src/test/java/org/springframework/http/codec/json/Jackson2SmileDecoderTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import static org.junit.Assert.assertTrue;
3939
import static org.springframework.core.ResolvableType.forClass;
4040
import static org.springframework.http.MediaType.APPLICATION_JSON;
41-
import static org.springframework.http.MediaType.APPLICATION_STREAM_JSON;
4241

4342
/**
4443
* Unit tests for {@link Jackson2SmileDecoder}.

spring-web/src/test/java/org/springframework/http/codec/json/Jackson2SmileEncoderTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.springframework.core.io.buffer.DataBuffer;
3131
import org.springframework.core.io.buffer.DataBufferUtils;
3232
import org.springframework.core.io.buffer.support.DataBufferTestUtils;
33-
import org.springframework.http.MediaType;
3433
import org.springframework.http.codec.Pojo;
3534
import org.springframework.http.codec.ServerSentEvent;
3635
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder;

spring-web/src/test/java/org/springframework/web/server/session/InMemoryWebSessionStoreTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 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.
@@ -21,7 +21,6 @@
2121

2222
import org.junit.Test;
2323

24-
import org.springframework.util.Assert;
2524
import org.springframework.web.server.WebSession;
2625

2726
import static junit.framework.TestCase.assertSame;

0 commit comments

Comments
 (0)