From 0a2cfab4a845c7f04b2adf6746663052db601054 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Tue, 29 Aug 2023 14:59:59 +1000 Subject: [PATCH] Issue #10402 - rename ServletChannelState open() to openOutput() Signed-off-by: Lachlan Roberts --- .../java/org/eclipse/jetty/ee10/servlet/ServletChannel.java | 2 +- .../org/eclipse/jetty/ee10/servlet/ServletChannelState.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletChannel.java b/jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletChannel.java index f09cba717c7..790123f4d47 100644 --- a/jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletChannel.java +++ b/jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletChannel.java @@ -157,7 +157,7 @@ public class ServletChannel _request = request; _response = response; _callback = callback; - _state.open(); + _state.openOutput(); if (LOG.isDebugEnabled()) LOG.debug("associate {} -> {},{},{}", diff --git a/jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletChannelState.java b/jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletChannelState.java index 3aa1513af90..ed58e637e7e 100644 --- a/jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletChannelState.java +++ b/jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletChannelState.java @@ -168,7 +168,7 @@ public class ServletChannelState } } - public void open() + public void openOutput() { try (AutoLock ignored = lock()) {