#1738 - Refactor simplify switch and various

This commit is contained in:
rob bygrave
2019-06-28 23:48:03 +12:00
parent e6c9f151c1
commit 8bfae9deef
17 changed files with 40 additions and 79 deletions
@@ -60,10 +60,7 @@ class LastMigration {
}
private static boolean includeSqlFile(String lowerFileName) {
if (lowerFileName.startsWith("r") || lowerFileName.startsWith("i") || !lowerFileName.endsWith(SQL)) {
return false;
}
return true;
return !lowerFileName.startsWith("r") && !lowerFileName.startsWith("i") && lowerFileName.endsWith(SQL);
}
private static boolean includeModelFile(String lowerFileName) {