Fix trailing whitespace to make Checkstyle happy. Mark fields as volatile/final. Followup to r1642962, r1642974.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643041 13f79535-47bb-0310-9956-ffa450edef68
Simplify XPath expression. Not a functional change (no changes in the output).

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643045 13f79535-47bb-0310-9956-ffa450edef68
Change algorithm for generation of unambiguous anchor names.
This fixes ambiguity with anchors in config/valve.html:
Old: Access_Logging/Introduction (for both Access Log Valve and Extended Access Log Valve)
New: Access_Log_Valve/Introduction, Extended_Access_Log_Valve/Introduction

The issue was reported via documentation comments system.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643054 13f79535-47bb-0310-9956-ffa450edef68
Correct a typo. Make section names and anchors unambiguous.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643055 13f79535-47bb-0310-9956-ffa450edef68
Improve method mapping code so that it attempts to do what is described in section 4.8 in the websockets spec.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643065 13f79535-47bb-0310-9956-ffa450edef68
Use the correct class when creating a logger.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643066 13f79535-47bb-0310-9956-ffa450edef68
Correct reason for adding extra time to expected completion time. This issue is not noticeable since TimeoutServlet.ASYNC_TIMEOUT and AsyncStartRunnable.THREAD_SLEEP_TIME were both 3000ms.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643100 13f79535-47bb-0310-9956-ffa450edef68
No need for a 3s timeout. Reduce to 100ms to speed up testing.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643104 13f79535-47bb-0310-9956-ffa450edef68
Update to Checkstyle 6.1.1

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643121 13f79535-47bb-0310-9956-ffa450edef68
Fix IDE warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643126 13f79535-47bb-0310-9956-ffa450edef68
Refactor test to stop IDE complaining about possible NPEs.
Also requires slightly less code.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643128 13f79535-47bb-0310-9956-ffa450edef68
Add configuration options for extensions, the origin header, periodic check and buffer size. This restores the previous behavior, but adds some flexibility.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643194 13f79535-47bb-0310-9956-ffa450edef68