@@ -272,10 +272,10 @@ public void clearLocalCache() {
272
272
protected abstract List <BatchResult > doFlushStatements (boolean isRollback ) throws SQLException ;
273
273
274
274
protected abstract <E > List <E > doQuery (MappedStatement ms , Object parameter , RowBounds rowBounds , ResultHandler resultHandler , BoundSql boundSql )
275
- throws SQLException ;
275
+ throws SQLException ;
276
276
277
277
protected abstract <E > Cursor <E > doQueryCursor (MappedStatement ms , Object parameter , RowBounds rowBounds , BoundSql boundSql )
278
- throws SQLException ;
278
+ throws SQLException ;
279
279
280
280
protected void closeStatement (Statement statement ) {
281
281
if (statement != null ) {
@@ -359,11 +359,11 @@ private static class DeferredLoad {
359
359
360
360
// issue #781
361
361
public DeferredLoad (MetaObject resultObject ,
362
- String property ,
363
- CacheKey key ,
364
- PerpetualCache localCache ,
365
- Configuration configuration ,
366
- Class <?> targetType ) {
362
+ String property ,
363
+ CacheKey key ,
364
+ PerpetualCache localCache ,
365
+ Configuration configuration ,
366
+ Class <?> targetType ) {
367
367
this .resultObject = resultObject ;
368
368
this .property = property ;
369
369
this .key = key ;
@@ -380,7 +380,7 @@ public boolean canLoad() {
380
380
public void load () {
381
381
@ SuppressWarnings ("unchecked" )
382
382
// we suppose we get back a List
383
- List <Object > list = (List <Object >) localCache .getObject (key );
383
+ List <Object > list = (List <Object >) localCache .getObject (key );
384
384
Object value = resultExtractor .extractObjectFromList (list , targetType );
385
385
resultObject .setValue (property , value );
386
386
}
0 commit comments