document the thread that VirtualFile#refresh's postRunnable is executed in

This commit is contained in:
peter
2017-02-03 17:23:28 +01:00
parent 08c9d1f771
commit 1f6d49f9b2
@@ -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);