mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: cleanup - rename method
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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<BaseRevision> wasAffected = was.getAffectedFilesUnderVcs();
|
||||
if (! myInitialized) {
|
||||
sendPlus(wasAffected);
|
||||
|
||||
Reference in New Issue
Block a user