Null check already performed in closeSilently(), also return the result
of the close call.
@@ -206,11 +206,8 @@ public class JndiManager extends AbstractManager {
@Override
protected boolean releaseSub(final long timeout, final TimeUnit timeUnit) {
- if (context != null) {
return JndiCloser.closeSilently(this.context);
}
- return true;
- }
/**
* Looks up a named object through this JNDI context.
