This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 230dfbc0aa tabs -> spaces
230dfbc0aa is described below
commit 230dfbc0aa0439e75af32665f55a08a9fc95d75d
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Dec 6 09:43:58 2023 +0000
tabs -> spaces
---
test/org/apache/catalina/connector/TestClientReadTimeout.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/catalina/connector/TestClientReadTimeout.java
b/test/org/apache/catalina/connector/TestClientReadTimeout.java
index 65d4cef92b..8c25542675 100644
--- a/test/org/apache/catalina/connector/TestClientReadTimeout.java
+++ b/test/org/apache/catalina/connector/TestClientReadTimeout.java
@@ -68,9 +68,9 @@ public class TestClientReadTimeout extends TomcatBaseTest {
BufferedReader reader = new BufferedReader(new
InputStreamReader(is, StandardCharsets.UTF_8));
String opening = null;
try {
- opening = reader.readLine();
+ opening = reader.readLine();
} catch (SocketException e) {
- // Handled below. An exception here means opening will be null
+ // Handled below. An exception here means opening will be null
}
if
(tomcat.getConnector().getProtocolHandlerClassName().contains("Nio2")) {
Assert.assertNull("NIO2 unexpectedly returned a response",
opening);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]