diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java index 7ac4bc4df726..dd62d9f8e226 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java @@ -427,7 +427,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme } private void chooseView() { - if (showTree()) { + if (getConfiguration().SHOW_FILE_HISTORY_AS_TREE) { myDualView.switchToTheTreeMode(); } else { @@ -435,10 +435,6 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme } } - private boolean showTree() { - return getConfiguration().SHOW_FILE_HISTORY_AS_TREE; - } - private VcsConfiguration getConfiguration() { return VcsConfiguration.getInstance(myVcs.getProject()); }