From bfba63d6075411789fe2af380a47dfb2e008abd4 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 15 Jul 2024 13:00:04 -0500 Subject: [PATCH] Increase visibility of legacy multipart parser --- .../jetty/ee9/nested/MultiPartInputStreamLegacyParser.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/MultiPartInputStreamLegacyParser.java b/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/MultiPartInputStreamLegacyParser.java index f26ac5a6217..3cbe41c39d8 100644 --- a/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/MultiPartInputStreamLegacyParser.java +++ b/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/MultiPartInputStreamLegacyParser.java @@ -65,10 +65,11 @@ import org.slf4j.LoggerFactory; * * @deprecated Replaced by {@link MultiPartFormInputStream}. * This code is slower and subject to more bugs than its replacement {@link MultiPartFormInputStream}. However, - * this class accepts formats non-compliant the RFC that the new {@link MultiPartFormInputStream} does not accept. + * this class accepts non-compliant RFC formats that the new {@link MultiPartFormInputStream} does not accept. + * This class is unavailable on ee10 and newer environments. */ -@Deprecated -class MultiPartInputStreamLegacyParser implements MultiPart.Parser +@Deprecated (forRemoval = true, since = "10.0.10") +public class MultiPartInputStreamLegacyParser implements MultiPart.Parser { private static final Logger LOG = LoggerFactory.getLogger(MultiPartInputStreamLegacyParser.class); public static final MultipartConfigElement __DEFAULT_MULTIPART_CONFIG = new MultipartConfigElement(System.getProperty("java.io.tmpdir"));