From 89dd3d6fc1ba6d39f53d8e842a0b6608b4212b13 Mon Sep 17 00:00:00 2001 From: Simulant Date: Thu, 28 Nov 2019 20:07:45 +0100 Subject: [PATCH] #5388 remove unnecessary null check --- .../src/main/java/io/quarkus/flyway/FlywayProcessor.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/extensions/flyway/deployment/src/main/java/io/quarkus/flyway/FlywayProcessor.java b/extensions/flyway/deployment/src/main/java/io/quarkus/flyway/FlywayProcessor.java index 0ca789baf118c..e6ea8a48f3c35 100644 --- a/extensions/flyway/deployment/src/main/java/io/quarkus/flyway/FlywayProcessor.java +++ b/extensions/flyway/deployment/src/main/java/io/quarkus/flyway/FlywayProcessor.java @@ -127,9 +127,6 @@ private List discoverApplicationMigrations(FlywayBuildConfig flywayBuild } // Locations can be a comma separated list for (String location : locations) { - if (location == null) { - continue; - } // Strip any 'classpath:' protocol prefixes because they are assumed // but not recognized by ClassLoader.getResources() if (location.startsWith(CLASSPATH_APPLICATION_MIGRATIONS_PROTOCOL + ':')) {