From 1f6d49f9b2f65dd4fdbc18d45d167e36f51916fa Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 3 Feb 2017 14:26:23 +0100 Subject: [PATCH] document the thread that VirtualFile#refresh's postRunnable is executed in --- platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java b/platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java index ce67532ff1af..b7eb1e9c5aa6 100644 --- a/platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java +++ b/platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java @@ -680,7 +680,7 @@ public abstract class VirtualFile extends UserDataHolderBase implements Modifica /** * The same as {@link #refresh(boolean, boolean)} but also runs {@code postRunnable} - * after the operation is completed. + * after the operation is completed. The runnable is executed on event dispatch thread inside a write action. */ public abstract void refresh(boolean asynchronous, boolean recursive, @Nullable Runnable postRunnable);