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 Dec 15, 2020
1 parent 60eccbc commit 9a51413
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1759,13 +1759,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 9a51413

Please sign in to comment.