Merged r1550743 from tomcat/trunk:
Fix a find bugs warning about String comparison

This slightly improves performance in the rare/unlikely case when one explicitly sets contextClass property as equal to the default value. It can now reuse the existing Digester instead of creating a new one.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1550921 13f79535-47bb-0310-9956-ffa450edef68
Merged r1550920 from tomcat/trunk:
Use existing local variable instead of a getter.
Spotted thanks to "manager can be null" IDE warning. No change in functionality.

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