diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2020-05-14 15:46:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 15:46:30 +0300 |
commit | 1f709b081c9954e6c9b05d616918f394f2328531 (patch) | |
tree | faafa6f93295d20520fd8d79863c9f6262cea9bc /server | |
parent | 4277b50449b47944c707f77c5e75a522bca84d40 (diff) | |
download | vaadin-framework-1f709b081c9954e6c9b05d616918f394f2328531.tar.gz vaadin-framework-1f709b081c9954e6c9b05d616918f394f2328531.zip |
Fixed error message to use given parameters. (#12008)
Fixes #11993
Diffstat (limited to 'server')
-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(), |