return new SessionFacade(this, session, id, this.manager.getBatcher());
}
@Override
public org.apache.catalina.Session findSession(String id) {
Batcher batcher = this.manager.getBatcher();
<BUG>boolean started = batcher.startBatch();
Session<LocalSessionContext> session = this.manager.findSession(this.getSessionId(id));
if (session == null) {

if (started) {</BUG>
batcher.endBatch(false);

return new SessionFacade(this, session, id, this.manager.getBatcher());
}
@Override
public org.apache.catalina.Session findSession(String id) {
Batcher batcher = this.manager.getBatcher();
boolean started = batcher.startBatch();
Session<LocalSessionContext> session = null;
try {
session = this.manager.findSession(this.getSessionId(id));
return (session != null) ? this.getSession(session) : null;
} finally {
if (started && (session == null)) {
