Package com.google.gerrit.reviewdb.client

Examples of com.google.gerrit.reviewdb.client.RevId.max()


      return ChangeDataResultSet.patchSet(//
          dbProvider.get().patchSets().byRevision(id));

    } else {
      return ChangeDataResultSet.patchSet(//
          dbProvider.get().patchSets().byRevisionRange(id, id.max()));
    }
  }

  @Override
  public boolean hasChange() {
View Full Code Here


      final RevId id = new RevId(patchIdentity);
      final ResultSet<PatchSet> patches;
      if (id.isComplete()) {
        patches = db.patchSets().byRevision(id);
      } else {
        patches = db.patchSets().byRevisionRange(id, id.max());
      }

      final Set<PatchSet.Id> matches = new HashSet<PatchSet.Id>();
      for (final PatchSet ps : patches) {
        final Change change = db.changes().get(ps.getId().getParentKey());
View Full Code Here

      RevId id = new RevId(idstr);
      ResultSet<PatchSet> patches;
      if (id.isComplete()) {
        patches = db.patchSets().byRevision(id);
      } else {
        patches = db.patchSets().byRevisionRange(id, id.max());
      }

      for (PatchSet ps : patches) {
        matchChange(matched, ps.getId().getParentKey());
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.