Further work for
https://issues.apache.org/bugzilla/show_bug.cgi?id=56029
Review from kkolinko
- Fix bug in parsing functions and whitespace
- More efficient resetting of StringBuidler
- Use String.substring() for token and whitespace
- avoid unnecessary use of trim()

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

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