]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed error message to use given parameters. (#12008) pr12027/r7
authorAnna Koskinen <Ansku@users.noreply.github.com>
Thu, 14 May 2020 12:46:30 +0000 (15:46 +0300)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 12:46:30 +0000 (15:46 +0300)
Fixes #11993

server/src/main/java/com/vaadin/ui/UI.java

index e48390666edf65b7494e0b183454be9c59a42cbb..5891addca451d0fe084869e9a41fd5a6083b356b 100644 (file)
@@ -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(),