https://issues.apache.org/bugzilla/show_bug.cgi?id=47512
Also acts as dead code removal
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@832638
13f79535-47bb-0310-9956-
ffa450edef68
}
} else if (entry.type == NamingEntry.REFERENCE) {
try {
- Object obj = NamingManager.getObjectInstance
+ return NamingManager.getObjectInstance
(entry.value, name, this, env);
- if (obj != null) {
- entry.value = obj;
- entry.type = NamingEntry.ENTRY;
- }
- return obj;
} catch (NamingException e) {
throw e;
} catch (Exception e) {