Skip to content

Commit b8d0765

Browse files
authored
Merge pull request #87 from xuejiangtao/master
remove the local variable and return the result directly
2 parents d748511 + debd575 commit b8d0765

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/examples/springbatch/paging/SpringBatchPagingTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ private long upperCaseRowCount() throws Exception {
9292
.build()
9393
.render(RenderingStrategy.MYBATIS3);
9494

95-
long count = personMapper.count(selectStatement);
96-
return count;
95+
return personMapper.count(selectStatement);
9796
}
9897
}
9998
}

0 commit comments

Comments
 (0)