Skip to content

Commit 53b3606

Browse files
committed
Re-apply standard formatting. No functional change.
Again, committed because I needed to test the BuildBot CI
1 parent 8a39aa9 commit 53b3606

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

java/org/apache/coyote/ajp/AjpProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ private void prepareRequest() {
797797

798798
// nothing
799799
case Constants.SC_A_SSL_CERT ->
800-
// SSL certificate extraction is lazy, moved to JkCoyoteHandler
800+
// SSL certificate extraction is lazy, moved to JkCoyoteHandler
801801
requestHeaderMessage.getBytes(certificates);
802802
case Constants.SC_A_SSL_CIPHER -> {
803803
requestHeaderMessage.getBytes(tmpMB);

java/org/apache/coyote/ajp/Constants.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ public final class Constants {
104104
public static final int MAX_SEND_SIZE = MAX_PACKET_SIZE - SEND_HEAD_LEN;
105105

106106
// Translates integer codes to names of HTTP methods
107-
private static final String[] methodTransArray =
108-
{ Method.OPTIONS, Method.GET, Method.HEAD, Method.POST, Method.PUT, Method.DELETE, Method.TRACE, Method.PROPFIND, Method.PROPPATCH, Method.MKCOL, Method.COPY,
109-
Method.MOVE, Method.LOCK, Method.UNLOCK, "ACL", "REPORT", "VERSION-CONTROL", "CHECKIN", "CHECKOUT", "UNCHECKOUT",
110-
"SEARCH", "MKWORKSPACE", "UPDATE", "LABEL", "MERGE", "BASELINE-CONTROL", "MKACTIVITY" };
107+
private static final String[] methodTransArray = { Method.OPTIONS, Method.GET, Method.HEAD, Method.POST, Method.PUT,
108+
Method.DELETE, Method.TRACE, Method.PROPFIND, Method.PROPPATCH, Method.MKCOL, Method.COPY, Method.MOVE,
109+
Method.LOCK, Method.UNLOCK, "ACL", "REPORT", "VERSION-CONTROL", "CHECKIN", "CHECKOUT", "UNCHECKOUT",
110+
"SEARCH", "MKWORKSPACE", "UPDATE", "LABEL", "MERGE", "BASELINE-CONTROL", "MKACTIVITY" };
111111

112112
/**
113113
* Converts an AJP coded HTTP method to the method name.

0 commit comments

Comments
 (0)