Remove workarounds for Java 5 bugs that do not impact Java 7 onwards.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1629620 13f79535-47bb-0310-9956-ffa450edef68
Whitespace formatting only. No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1629773 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45282
Improve shutdown of NIO receiver so that sockets are closed cleanly.
This is essentially the patch that Filip suggested in the bug report with some additional refactoring by me.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1629776 13f79535-47bb-0310-9956-ffa450edef68
The result of this method is used in logging to identify the context but Context.getName() is not unique with a Host. Context.getBaseName() is unique

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1629833 13f79535-47bb-0310-9956-ffa450edef68
Some rewording and other improvements

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1629867 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43682
Add support for referring to the current context, host and service name in per Context logging.properties files

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1629871 13f79535-47bb-0310-9956-ffa450edef68
Fix tests in light of r1629833

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1629906 13f79535-47bb-0310-9956-ffa450edef68
FindBugs. Remove unnecessary null check.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630059 13f79535-47bb-0310-9956-ffa450edef68
FindBugs. Use a better test for an odd number. Functionally makes no difference since length is always >=0 but it should be a little faster.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630060 13f79535-47bb-0310-9956-ffa450edef68
FindBugs. Ignore a false positive. Add a warning to the code in case someone copies this test code for a real app.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630063 13f79535-47bb-0310-9956-ffa450edef68
Extend support for permessage-deflate to the WebSocket client implementation.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630065 13f79535-47bb-0310-9956-ffa450edef68
Use 24 hour clock in build stamp

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630088 13f79535-47bb-0310-9956-ffa450edef68
Correct type as spotted by Martin Grigorov

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630092 13f79535-47bb-0310-9956-ffa450edef68
Ensure all dates are generated for UTC and add timezone to build stamp
Suggested by kkolinko

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630094 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47919
Extend the information logged when Tomcat starts to optionally include (enabled by default) the values of key environment variables.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630110 13f79535-47bb-0310-9956-ffa450edef68
Fix an i18n TODO

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630194 13f79535-47bb-0310-9956-ffa450edef68
NPE protection. Note NPE only possible with test code.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630199 13f79535-47bb-0310-9956-ffa450edef68
Add debug logging for IOEs while reading data from server

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1630203 13f79535-47bb-0310-9956-ffa450edef68
Fix an i18n TODO

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