Remove unnecessary boxing and unboxing

This commit is contained in:
Thibault Meyer
2016-11-06 10:29:42 +01:00
parent 2a6d38eef2
commit b94f852b67
3 changed files with 6 additions and 13 deletions
@@ -139,7 +139,7 @@ public class SqlQueryTests extends BaseTestCase {
public boolean accept(SqlRow bean) {
count.incrementAndGet();
Integer id = bean.getInteger("id");
return id.intValue() < 3;
return id < 3;
}
});