Просмотр исходного кода

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

Fixes #11993
tags/8.11.0
Anna Koskinen 4 лет назад
Родитель
Сommit
0d7432691e
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 5 добавлений и 4 удалений
  1. 5
    4
      server/src/main/java/com/vaadin/ui/UI.java

+ 5
- 4
server/src/main/java/com/vaadin/ui/UI.java Просмотреть файл

* accessSynchronously. Furthermore, there wasn't an * accessSynchronously. Furthermore, there wasn't an
* ErrorHandlingRunnable that handled the exception. * 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[] { new Object[] {
ErrorHandlingRunnable.class.getName(), ErrorHandlingRunnable.class.getName(),
UIDetachedException.class.getName(), UIDetachedException.class.getName(),

Загрузка…
Отмена
Сохранить