From 1548fb655ca7a42b41abf8613ef7d3b1f403a65a Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 7 May 2019 22:57:45 +0900 Subject: [PATCH] Polish FlywayProperties See gh-16737 --- .../boot/autoconfigure/flyway/FlywayProperties.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java index 74bc4d9593a..0acd2171b7d 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java @@ -229,13 +229,13 @@ public class FlywayProperties { * Whether to batch SQL statements when executing them. Requires Flyway Pro or Flyway * Enterprise. */ - private Boolean batch = null; + private Boolean batch; /** * File to which the SQL statements of a migration dry run should be output. Requires * Flyway Pro or Flyway Enterprise. */ - private File dryRunOutput = null; + private File dryRunOutput; /** * Rules for the built-in error handling to override specific SQL states and error @@ -252,18 +252,18 @@ public class FlywayProperties { * Whether to enable support for Oracle SQL*Plus commands. Requires Flyway Pro or * Flyway Enterprise. */ - private Boolean oracleSqlplus = null; + private Boolean oracleSqlplus; /** - * Whether to stream SQL migrarions when executing them. Requires Flyway Pro or Flyway + * Whether to stream SQL migrations when executing them. Requires Flyway Pro or Flyway * Enterprise. */ - private Boolean stream = null; + private Boolean stream; /** * File name prefix for undo SQL migrations. Requires Flyway Pro or Flyway Enterprise. */ - private String undoSqlMigrationPrefix = null; + private String undoSqlMigrationPrefix; public boolean isEnabled() { return this.enabled;