diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2020-05-15 12:06:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 12:06:48 +0300 |
commit | 0d7432691e0885b79e2902a07a82fb320e3f4f76 (patch) | |
tree | a71dab11573da5261b48af9488b9386f76b36af0 | |
parent | d930bff420623c33de717928708982820fc8fb0d (diff) | |
download | vaadin-framework-0d7432691e0885b79e2902a07a82fb320e3f4f76.tar.gz vaadin-framework-0d7432691e0885b79e2902a07a82fb320e3f4f76.zip |
Fixed error message to use given parameters. (#12008) (#12011)
Fixes #11993
-rw-r--r-- | server/src/main/java/com/vaadin/ui/UI.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/server/src/main/java/com/vaadin/ui/UI.java b/server/src/main/java/com/vaadin/ui/UI.java index e48390666e..5891addca4 100644 --- a/server/src/main/java/com/vaadin/ui/UI.java +++ b/server/src/main/java/com/vaadin/ui/UI.java @@ -1588,10 +1588,11 @@ public abstract class UI extends AbstractSingleComponentContainer * accessSynchronously. Furthermore, there wasn't an * ErrorHandlingRunnable that handled the exception. */ - getLogger().log(Level.WARNING, - "access() task ignored because UI got detached after the task was enqueued." - + " To suppress this message, change the task to implement {} and make it handle {}." - + " Affected task: {}", + getLogger().log(Level.WARNING, "access() task ignored " + + "because UI got detached after the task was " + + "enqueued. To suppress this message, change " + + "the task to implement {0} and make it handle " + + "{1}. Affected task: {2}", new Object[] { ErrorHandlingRunnable.class.getName(), UIDetachedException.class.getName(), |