Procházet zdrojové kódy

Fixed error message to use given parameters. (#12008)

Fixes #11993
tags/8.12.0.alpha1
Anna Koskinen před 4 roky
rodič
revize
1f709b081c
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 5 přidání a 4 odebrání
  1. 5
    4
      server/src/main/java/com/vaadin/ui/UI.java

+ 5
- 4
server/src/main/java/com/vaadin/ui/UI.java Zobrazit soubor

@@ -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(),

Načítá se…
Zrušit
Uložit