Merge changes Idc3b9656,I315661dc

* changes:
  PatchSetUtil: Remove static modifier from setGroups method
  TagSet: Add default serialVersionUID
This commit is contained in:
Edwin Kempin
2018-08-02 06:46:22 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ public class PatchSetUtil {
} }
} }
public static void setGroups(ReviewDb db, ChangeUpdate update, PatchSet ps, List<String> groups) public void setGroups(ReviewDb db, ChangeUpdate update, PatchSet ps, List<String> groups)
throws OrmException { throws OrmException {
ps.setGroups(groups); ps.setGroups(groups);
update.setGroups(groups); update.setGroups(groups);

View File

@@ -403,6 +403,8 @@ class TagSet {
@VisibleForTesting @VisibleForTesting
static final class CachedRef extends AtomicReference<ObjectId> { static final class CachedRef extends AtomicReference<ObjectId> {
private static final long serialVersionUID = 1L;
final int flag; final int flag;
CachedRef(Ref ref, int flag) { CachedRef(Ref ref, int flag) {