Remove unused ChangeUtil#updated method
Plugins that use this method must be adapted to use BatchUpdate for updating changes, otherwise they can't work with notedb. Change-Id: I5cdaa7fa532519d3650c2886a9ab5ae2b3d1a780 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -16,7 +16,6 @@ package com.google.gerrit.server;
|
||||
|
||||
import com.google.common.base.Function;
|
||||
import com.google.common.collect.Ordering;
|
||||
import com.google.gerrit.common.TimeUtil;
|
||||
import com.google.gerrit.reviewdb.client.Change;
|
||||
import com.google.gerrit.reviewdb.client.PatchSet;
|
||||
import com.google.gerrit.reviewdb.server.ReviewDb;
|
||||
@@ -87,10 +86,6 @@ public class ChangeUtil {
|
||||
}
|
||||
}
|
||||
|
||||
public static void updated(Change c) {
|
||||
c.setLastUpdatedOn(TimeUtil.nowTs());
|
||||
}
|
||||
|
||||
public static PatchSet.Id nextPatchSetId(Map<String, Ref> allRefs,
|
||||
PatchSet.Id id) {
|
||||
PatchSet.Id next = nextPatchSetId(id);
|
||||
|
||||
Reference in New Issue
Block a user