Skip to content

Commit

Permalink
Merge pull request #25242 from qmonmert/primitiveboolean
Browse files Browse the repository at this point in the history
Sonar: Use a primitive boolean expression
  • Loading branch information
DanielFran committed Feb 18, 2024
2 parents f3bb2ae + 9cc8516 commit 72f4260
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class LiquibaseConfiguration {
liquibase.setDataSource(createLiquibaseDataSource(liquibaseProperties, dataSourceProperties));
<%_ } else { _%>
SpringLiquibase liquibase;
if (asyncStart) {
if (Boolean.TRUE.equals(asyncStart)) {
liquibase = SpringLiquibaseUtil.createAsyncSpringLiquibase(this.env, executor, liquibaseDataSource.getIfAvailable(), liquibaseProperties, dataSource.getIfUnique(), dataSourceProperties);
} else {
liquibase = SpringLiquibaseUtil.createSpringLiquibase(liquibaseDataSource.getIfAvailable(), liquibaseProperties, dataSource.getIfUnique(), dataSourceProperties);
Expand Down

0 comments on commit 72f4260

Please sign in to comment.