HHH-12699 Fix a typo

This commit is contained in:
Guillaume Smet 2018-06-26 12:59:38 +02:00
parent a19fc84320
commit 377b3d1fbe

View File

@ -2227,7 +2227,7 @@ private ResultSet wrapResultSetIfEnabled(final ResultSet rs, final SharedSession
return session.getFactory() return session.getFactory()
.getServiceRegistry() .getServiceRegistry()
.getService( JdbcServices.class ) .getService( JdbcServices.class )
.getResultSetWrapper().wrap( rs, retreiveColumnNameToIndexCache( rs ) ); .getResultSetWrapper().wrap( rs, retrieveColumnNameToIndexCache( rs ) );
} }
catch (SQLException e) { catch (SQLException e) {
LOG.unableToWrapResultSet( e ); LOG.unableToWrapResultSet( e );
@ -2239,7 +2239,7 @@ private ResultSet wrapResultSetIfEnabled(final ResultSet rs, final SharedSession
} }
} }
private ColumnNameCache retreiveColumnNameToIndexCache(final ResultSet rs) throws SQLException { private ColumnNameCache retrieveColumnNameToIndexCache(final ResultSet rs) throws SQLException {
final ColumnNameCache cache = columnNameCache; final ColumnNameCache cache = columnNameCache;
if ( cache == null ) { if ( cache == null ) {
//there is no need for a synchronized second check, as in worst case //there is no need for a synchronized second check, as in worst case