ソースを参照

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

Fixes #11993
tags/8.12.0.alpha1
Anna Koskinen 4年前
コミット
1f709b081c
コミッターのメールアドレスに関連付けられたアカウントが存在しません
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 ファイルの表示

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

読み込み中…
キャンセル
保存