DefaultTreeModel () { try (AccessToken ignore = SlowOperations.knownIssue("IDEA-307313, EA-736680")) { PartialCommitChangeNodeDecorator decorator = new PartialCommitChangeNodeDecorator(myProject, RemoteRevisionsCache.getInstance(myProject).getChangesNodeDecorator()); TreeModelBuilder builder = new TreeModelBuilder(myProject, getGrouping()); builder.setChanges(myChanges, decorator); builder.setUnversioned(myUnversioned); myViewer.getEmptyText() .setText(DiffBundle.message("diff.count.differences.status.text", 0)); return builder.build(); } }