Merging ELParser changes from trunk, to better align TC7 code with trunk here
(proposed TC6 patch for BZ 56029 already ports these changes to Tomcat 6)

This commit is a merge of r1374086 minus Java 7 generics changes:
Code clean-up
 - UCDetector use of final
........


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560237 13f79535-47bb-0310-9956-ffa450edef68
Merging ELParser changes from trunk, to better align TC7 code with trunk here
(proposed TC6 patch for BZ 56029 already ports these changes to Tomcat 6)

Merged r1410742 from tomcat/trunk:
Refactor since returning -1 makes no sense with chars. The old code worked but it was a little odd (and FindBugs didn't like it).
........


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560238 13f79535-47bb-0310-9956-ffa450edef68
Merging ELParser changes from trunk, to better align TC7 code with trunk here
(proposed TC6 patch for BZ 56029 already ports these changes to Tomcat 6)

Merged r1560177 from tomcat/trunk:
Remove unnecessary code
........

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