Micro optimization, avoids unnecessary assignment.

pull/30/head
Brett Wooldridge 11 years ago
parent 355688d50f
commit a754c87c8a

@ -31,7 +31,6 @@ public abstract class StatementProxy implements Statement
protected static final ProxyFactory PROXY_FACTORY;
protected final IHikariConnectionProxy connection;
protected final Statement delegate;
private boolean isClosed;
@ -56,10 +55,10 @@ public abstract class StatementProxy implements Statement
{
if (resultSet != null)
{
resultSet = PROXY_FACTORY.getProxyResultSet(this, resultSet);
return PROXY_FACTORY.getProxyResultSet(this, resultSet);
}
return resultSet;
return null;
}
// **********************************************************************

Loading…
Cancel
Save