Skip to content

Commit

Permalink
Call refresh by default in AbstractFileObject.onChange
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-petrov committed Apr 20, 2022
1 parent 4b2e618 commit 3e6015f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1752,13 +1752,13 @@ private void notifyParent(final FileName childName, final FileType newType) thro
/**
* Called when the type or content of this file changes.
* <p>
* This implementation does nothing.
* This implementation just calls `refresh`.
* </p>
*
* @throws Exception if an error occurs.
*/
protected void onChange() throws Exception {
// noop
this.refresh();
}

/**
Expand Down

0 comments on commit 3e6015f

Please sign in to comment.