No effective change - code cleanup - string indexOf to contains

This commit is contained in:
Robin Bygrave
2015-07-31 15:00:02 +12:00
parent 53cf6c162c
commit 06b6638926
10 changed files with 55 additions and 55 deletions
@@ -26,6 +26,6 @@ public class TestQueryWhereBetween extends BaseTestCase {
query.findList();
String sql = query.getGeneratedSql();
Assert.assertTrue(sql.indexOf("between t0.cretime and t0.updtime") > -1);
Assert.assertTrue(sql.contains("between t0.cretime and t0.updtime"));
}
}