Skip to content

Commit 5561618

Browse files
committed
Revert Format
1 parent 67b6d10 commit 5561618

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/java/org/apache/ibatis/executor/BaseExecutor.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,10 @@ public void clearLocalCache() {
272272
protected abstract List<BatchResult> doFlushStatements(boolean isRollback) throws SQLException;
273273

274274
protected abstract <E> List<E> doQuery(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
275-
throws SQLException;
275+
throws SQLException;
276276

277277
protected abstract <E> Cursor<E> doQueryCursor(MappedStatement ms, Object parameter, RowBounds rowBounds, BoundSql boundSql)
278-
throws SQLException;
278+
throws SQLException;
279279

280280
protected void closeStatement(Statement statement) {
281281
if (statement != null) {
@@ -359,11 +359,11 @@ private static class DeferredLoad {
359359

360360
// issue #781
361361
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) {
367367
this.resultObject = resultObject;
368368
this.property = property;
369369
this.key = key;
@@ -380,7 +380,7 @@ public boolean canLoad() {
380380
public void load() {
381381
@SuppressWarnings("unchecked")
382382
// 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);
384384
Object value = resultExtractor.extractObjectFromList(list, targetType);
385385
resultObject.setValue(property, value);
386386
}

0 commit comments

Comments
 (0)