From 2268a235fa30e43cd7ad4a69e15ecf02b4501879 Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Tue, 2 May 2017 16:44:42 +0300 Subject: [PATCH] vcs: cleanup - rename method --- .../com/intellij/openapi/vcs/changes/ChangeListWorker.java | 2 +- .../src/com/intellij/openapi/vcs/changes/ChangesDelta.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListWorker.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListWorker.java index f66c551dcd78..b3b442676b21 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListWorker.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListWorker.java @@ -97,7 +97,7 @@ public class ChangeListWorker implements ChangeListsWriteOperations { } public void onAfterWorkerSwitch(@NotNull final ChangeListWorker previous) { - boolean somethingChanged = myDelta.step(previous.myIdx, myIdx); + boolean somethingChanged = myDelta.notifyPathsChanged(previous.myIdx, myIdx); somethingChanged |= checkForMultipleCopiesNotMove(); if (somethingChanged) { diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangesDelta.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangesDelta.java index 83c02a2877c1..00551052494e 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangesDelta.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangesDelta.java @@ -15,8 +15,8 @@ */ package com.intellij.openapi.vcs.changes; -import com.intellij.util.BeforeAfter; import com.intellij.openapi.vcs.changes.ui.PlusMinusModify; +import com.intellij.util.BeforeAfter; import java.util.Collection; import java.util.HashSet; @@ -32,7 +32,7 @@ public class ChangesDelta { } // true -> something changed - public boolean step(final ChangeListsIndexes was, final ChangeListsIndexes became) { + public boolean notifyPathsChanged(final ChangeListsIndexes was, final ChangeListsIndexes became) { List wasAffected = was.getAffectedFilesUnderVcs(); if (! myInitialized) { sendPlus(wasAffected);