Skip to content

Commit a784697

Browse files
committed
Merge pull request #16737 from Johnny Lim
* gh-16737: Polish FlywayProperties
2 parents 40e1c19 + 1548fb6 commit a784697

File tree

1 file changed

+6
-6
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway

1 file changed

+6
-6
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,13 @@ public class FlywayProperties {
229229
* Whether to batch SQL statements when executing them. Requires Flyway Pro or Flyway
230230
* Enterprise.
231231
*/
232-
private Boolean batch = null;
232+
private Boolean batch;
233233

234234
/**
235235
* File to which the SQL statements of a migration dry run should be output. Requires
236236
* Flyway Pro or Flyway Enterprise.
237237
*/
238-
private File dryRunOutput = null;
238+
private File dryRunOutput;
239239

240240
/**
241241
* Rules for the built-in error handling to override specific SQL states and error
@@ -252,18 +252,18 @@ public class FlywayProperties {
252252
* Whether to enable support for Oracle SQL*Plus commands. Requires Flyway Pro or
253253
* Flyway Enterprise.
254254
*/
255-
private Boolean oracleSqlplus = null;
255+
private Boolean oracleSqlplus;
256256

257257
/**
258-
* Whether to stream SQL migrarions when executing them. Requires Flyway Pro or Flyway
258+
* Whether to stream SQL migrations when executing them. Requires Flyway Pro or Flyway
259259
* Enterprise.
260260
*/
261-
private Boolean stream = null;
261+
private Boolean stream;
262262

263263
/**
264264
* File name prefix for undo SQL migrations. Requires Flyway Pro or Flyway Enterprise.
265265
*/
266-
private String undoSqlMigrationPrefix = null;
266+
private String undoSqlMigrationPrefix;
267267

268268
public boolean isEnabled() {
269269
return this.enabled;

0 commit comments

Comments
 (0)