From 5993364288b3e46ac0c0464461a119f6df57b6eb Mon Sep 17 00:00:00 2001 From: gregw Date: Wed, 7 Aug 2024 12:53:19 +1000 Subject: [PATCH] fixed removal of deprecated methods --- .../java/org/eclipse/jetty/server/HttpConnectionFactory.java | 2 -- .../jetty/ee10/servlet/ComplianceViolations2616Test.java | 1 - .../jetty/ee11/servlet/ComplianceViolations2616Test.java | 1 - .../src/test/java/org/eclipse/jetty/ee9/nested/RequestTest.java | 1 - 4 files changed, 5 deletions(-) diff --git a/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnectionFactory.java b/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnectionFactory.java index c6a5249d745..8c9a2093240 100644 --- a/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnectionFactory.java +++ b/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnectionFactory.java @@ -30,8 +30,6 @@ import org.eclipse.jetty.util.annotation.Name; public class HttpConnectionFactory extends AbstractConnectionFactory implements HttpConfiguration.ConnectionFactory { private final HttpConfiguration _config; - private boolean _useInputDirectByteBuffers; - private boolean _useOutputDirectByteBuffers; public HttpConnectionFactory() { diff --git a/jetty-ee10/jetty-ee10-servlet/src/test/java/org/eclipse/jetty/ee10/servlet/ComplianceViolations2616Test.java b/jetty-ee10/jetty-ee10-servlet/src/test/java/org/eclipse/jetty/ee10/servlet/ComplianceViolations2616Test.java index f3bea6be187..c9837de3cd4 100644 --- a/jetty-ee10/jetty-ee10-servlet/src/test/java/org/eclipse/jetty/ee10/servlet/ComplianceViolations2616Test.java +++ b/jetty-ee10/jetty-ee10-servlet/src/test/java/org/eclipse/jetty/ee10/servlet/ComplianceViolations2616Test.java @@ -109,7 +109,6 @@ public class ComplianceViolations2616Test config.addComplianceViolationListener(new ComplianceViolation.CapturingListener()); HttpConnectionFactory httpConnectionFactory = new HttpConnectionFactory(config); - httpConnectionFactory.setRecordHttpComplianceViolations(true); connector = new LocalConnector(server, null, null, null, -1, httpConnectionFactory); ServletContextHandler context = new ServletContextHandler(); diff --git a/jetty-ee11/jetty-ee11-servlet/src/test/java/org/eclipse/jetty/ee11/servlet/ComplianceViolations2616Test.java b/jetty-ee11/jetty-ee11-servlet/src/test/java/org/eclipse/jetty/ee11/servlet/ComplianceViolations2616Test.java index b80086245b8..75ca94c25c0 100644 --- a/jetty-ee11/jetty-ee11-servlet/src/test/java/org/eclipse/jetty/ee11/servlet/ComplianceViolations2616Test.java +++ b/jetty-ee11/jetty-ee11-servlet/src/test/java/org/eclipse/jetty/ee11/servlet/ComplianceViolations2616Test.java @@ -109,7 +109,6 @@ public class ComplianceViolations2616Test config.addComplianceViolationListener(new ComplianceViolation.CapturingListener()); HttpConnectionFactory httpConnectionFactory = new HttpConnectionFactory(config); - httpConnectionFactory.setRecordHttpComplianceViolations(true); connector = new LocalConnector(server, null, null, null, -1, httpConnectionFactory); ServletContextHandler context = new ServletContextHandler(); diff --git a/jetty-ee9/jetty-ee9-nested/src/test/java/org/eclipse/jetty/ee9/nested/RequestTest.java b/jetty-ee9/jetty-ee9-nested/src/test/java/org/eclipse/jetty/ee9/nested/RequestTest.java index c64ad121971..c0177f611fb 100644 --- a/jetty-ee9/jetty-ee9-nested/src/test/java/org/eclipse/jetty/ee9/nested/RequestTest.java +++ b/jetty-ee9/jetty-ee9-nested/src/test/java/org/eclipse/jetty/ee9/nested/RequestTest.java @@ -130,7 +130,6 @@ public class RequestTest _server = new Server(); _context = new ContextHandler(_server); HttpConnectionFactory http = new HttpConnectionFactory(); - http.setRecordHttpComplianceViolations(true); http.setInputBufferSize(1024); http.getHttpConfiguration().setRequestHeaderSize(512); http.getHttpConfiguration().setResponseHeaderSize(512);