From e70aa68598ba040dcac482568a1f8b6c1d532ca5 Mon Sep 17 00:00:00 2001 From: DISHA ANAND Date: Wed, 22 Nov 2023 14:18:26 -0400 Subject: [PATCH] fix: suggested review changes - added version for ExceptionHandlingAsyncTaskExecutor file - removed unwanted character --- .../tech/jhipster/async/ExceptionHandlingAsyncTaskExecutor.java | 2 +- .../tech/jhipster/config/liquibase/AsyncSpringLiquibase.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jhipster-framework/src/main/java/tech/jhipster/async/ExceptionHandlingAsyncTaskExecutor.java b/jhipster-framework/src/main/java/tech/jhipster/async/ExceptionHandlingAsyncTaskExecutor.java index e7dcef34d..e9a142793 100644 --- a/jhipster-framework/src/main/java/tech/jhipster/async/ExceptionHandlingAsyncTaskExecutor.java +++ b/jhipster-framework/src/main/java/tech/jhipster/async/ExceptionHandlingAsyncTaskExecutor.java @@ -55,7 +55,7 @@ public void execute(Runnable task) { /** {@inheritDoc} */ @Override - @Deprecated(since = "version", forRemoval = true) + @Deprecated(since = "7.8.0", forRemoval = true) public void execute(Runnable task, long startTimeout) { executor.execute(createWrappedRunnable(task), startTimeout); } diff --git a/jhipster-framework/src/main/java/tech/jhipster/config/liquibase/AsyncSpringLiquibase.java b/jhipster-framework/src/main/java/tech/jhipster/config/liquibase/AsyncSpringLiquibase.java index 68fc8424d..eafdc900d 100644 --- a/jhipster-framework/src/main/java/tech/jhipster/config/liquibase/AsyncSpringLiquibase.java +++ b/jhipster-framework/src/main/java/tech/jhipster/config/liquibase/AsyncSpringLiquibase.java @@ -51,7 +51,7 @@ public class AsyncSpringLiquibase extends DataSourceClosingSpringLiquibase { /** Constant STARTED_MESSAGE="Liquibase has updated your database in "{trunked} */ public static final String STARTED_MESSAGE = "Liquibase has updated your database in {} ms"; /** Constant EXCEPTION_MESSAGE="Liquibase could not start correctly, yo"{trunked} */ - public static final String EXCEPTION_MESSAGE = "Liquibase could not start correctly, your database is NOT ready: " + "{}"; + public static final String EXCEPTION_MESSAGE = "Liquibase could not start correctly, your database is NOT ready: {}"; /** Constant SLOWNESS_THRESHOLD=5 */ public static final long SLOWNESS_THRESHOLD = 5; // seconds