Fix a bunch of failing unit tests.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1416568 13f79535-47bb-0310-9956-ffa450edef68
Simplify the TimeZone handling in the AccessLogValve and correct a few edge cases.
The previous code did not handle edge cases - for example (and what ID'd this issue) the UK was at +01:00 from Oct 1968 to Oct 1971.
It is far better to let the formatted handle the TimeZone directly as it will handle all the edge cases.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1416658 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54150
Make sure that SlowQueryReportJmx mbean deregistered during webapp shutdown.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1416787 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54194
Make sure that connection pool mbean is not registered when jmxEnabled is false. 

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1416793 13f79535-47bb-0310-9956-ffa450edef68
WebSocket 1.0 implementation part 8 of many
Start to join up the upgrade ProtocolHandler, the WebSocket session and the Echo end point implementation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1416836 13f79535-47bb-0310-9956-ffa450edef68
Review of r1416258
'&&' has higher priority than '||', so the brackets are needed.

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417021 13f79535-47bb-0310-9956-ffa450edef68
Fix trailing whitespace as reported by Checkstyle.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417040 13f79535-47bb-0310-9956-ffa450edef68
Address Mark's comment to r1413324. Check that two messages were echoed back.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417044 13f79535-47bb-0310-9956-ffa450edef68
Followup to r1414046.
Mark tomcat-websocket.jar fragment as metadata-complete. It initializes itself through a ServletContainerInitializer. There is no need for Tomcat to scan this jar for servlets, filters or listeners.

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417193 13f79535-47bb-0310-9956-ffa450edef68
Replicate the equals() and hashCode() strategy from MessageBytes to silence some FindBugs warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417194 13f79535-47bb-0310-9956-ffa450edef68
Fix FindBugs warnings
volatile int -> AtomicIntger so operations are actually atomic

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417199 13f79535-47bb-0310-9956-ffa450edef68
Fix FindBugs warning
Avoid NPE (although given an OOME has occurred I'm not sure it matters)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417201 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54245
Keep git happy about a currently empty directory

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417218 13f79535-47bb-0310-9956-ffa450edef68
Review of r1412576, which was a fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=54170
Reduce GC. There is no need to copy characters into a new char[] array here.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417224 13f79535-47bb-0310-9956-ffa450edef68
svn:eol-style = native

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1417232 13f79535-47bb-0310-9956-ffa450edef68
Clarify the docs that the thread priority value is a number and not some weird string value.
A thread on users@ from Dec 02 2012:
http://tomcat.markmail.org/thread/iud2m7j743qwx4ui

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


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


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