Author: remy.maucherat(a)jboss.com
Date: 2014-03-10 10:49:05 -0400 (Mon, 10 Mar 2014)
New Revision: 2378
Modified:
branches/7.3.x/src/main/java/org/apache/coyote/http11/AbstractInternalOutputBuffer.java
branches/7.3.x/src/main/java/org/apache/coyote/http11/InternalAprOutputBuffer.java
branches/7.3.x/src/main/java/org/apache/coyote/http11/InternalOutputBuffer.java
Log:
BZ1073159: Preload constant.
Modified:
branches/7.3.x/src/main/java/org/apache/coyote/http11/AbstractInternalOutputBuffer.java
===================================================================
---
branches/7.3.x/src/main/java/org/apache/coyote/http11/AbstractInternalOutputBuffer.java 2014-03-10
14:48:49 UTC (rev 2377)
+++
branches/7.3.x/src/main/java/org/apache/coyote/http11/AbstractInternalOutputBuffer.java 2014-03-10
14:49:05 UTC (rev 2378)
@@ -140,6 +140,10 @@
// Cause loading of HttpMessages
HttpMessages.getMessage(200);
+
+ // Cause loading of constants
+ boolean res = org.apache.coyote.Constants.USE_CUSTOM_STATUS_MSG_IN_HEADER;
+
}
/**
Modified:
branches/7.3.x/src/main/java/org/apache/coyote/http11/InternalAprOutputBuffer.java
===================================================================
---
branches/7.3.x/src/main/java/org/apache/coyote/http11/InternalAprOutputBuffer.java 2014-03-10
14:48:49 UTC (rev 2377)
+++
branches/7.3.x/src/main/java/org/apache/coyote/http11/InternalAprOutputBuffer.java 2014-03-10
14:49:05 UTC (rev 2378)
@@ -80,6 +80,9 @@
// Cause loading of HttpMessages
HttpMessages.getMessage(200);
+ // Cause loading of constants
+ boolean res = org.apache.coyote.Constants.USE_CUSTOM_STATUS_MSG_IN_HEADER;
+
}
Modified: branches/7.3.x/src/main/java/org/apache/coyote/http11/InternalOutputBuffer.java
===================================================================
---
branches/7.3.x/src/main/java/org/apache/coyote/http11/InternalOutputBuffer.java 2014-03-10
14:48:49 UTC (rev 2377)
+++
branches/7.3.x/src/main/java/org/apache/coyote/http11/InternalOutputBuffer.java 2014-03-10
14:49:05 UTC (rev 2378)
@@ -77,6 +77,9 @@
committed = false;
finished = false;
+ // Cause loading of constants
+ boolean res = org.apache.coyote.Constants.USE_CUSTOM_STATUS_MSG_IN_HEADER;
+
}
Show replies by date