Skip to content

Commit aa7793a

Browse files
committed
Removed unused code from ContentDisposition
See gh-33809
1 parent bf80485 commit aa7793a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

spring-web/src/main/java/org/springframework/http/ContentDisposition.java

-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import java.io.ByteArrayOutputStream;
2020
import java.nio.charset.Charset;
2121
import java.nio.charset.StandardCharsets;
22-
import java.time.ZonedDateTime;
2322
import java.util.ArrayList;
2423
import java.util.Base64;
2524
import java.util.BitSet;
@@ -256,10 +255,6 @@ public static ContentDisposition parse(String contentDisposition) {
256255
String name = null;
257256
String filename = null;
258257
Charset charset = null;
259-
Long size = null;
260-
ZonedDateTime creationDate = null;
261-
ZonedDateTime modificationDate = null;
262-
ZonedDateTime readDate = null;
263258
for (int i = 1; i < parts.size(); i++) {
264259
String part = parts.get(i);
265260
int eqIndex = part.indexOf('=');

0 commit comments

Comments
 (0)