Rename "GitReferenceUpdated replication" to "GitReferenceUpdated gitRefUpdated"
The concept of replication is not a part of the Gerrit core any more. Rename all variables of type GitReferenceUpdated which were named "replication" to "gitRefUpdated". Also rename the "MetaDataUpdate.replicate" method to "fireGitRefUpdatedEvent" as this is exactly what it does. Change-Id: I4ebe9ce05849e5f35e344195e6e5b561a079a965 Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
This commit is contained in:
committed by
Edwin Kempin
parent
c21f309f71
commit
336eb70b51
@@ -260,7 +260,7 @@ public abstract class VersionedMetaData {
|
||||
switch (result) {
|
||||
case NEW:
|
||||
revision = rw.parseCommit(ru.getNewObjectId());
|
||||
update.replicate(ru);
|
||||
update.fireGitRefUpdatedEvent(ru);
|
||||
return revision;
|
||||
default:
|
||||
throw new IOException("Cannot update " + ru.getName() + " in "
|
||||
@@ -293,7 +293,7 @@ public abstract class VersionedMetaData {
|
||||
case NEW:
|
||||
case FAST_FORWARD:
|
||||
revision = rw.parseCommit(ru.getNewObjectId());
|
||||
update.replicate(ru);
|
||||
update.fireGitRefUpdatedEvent(ru);
|
||||
return revision;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user