gerrit/java
Dave Borowitz 78c5f37029 Factor out common code from RepoSequence
IntBlob is a simple value class encapsulating the results of reading an
integer blob from a given object ID in a repo. It includes factory
methods for reading/writing blobs to/from the repo, in an interface that
provides everything RepoSequence needs.

In the write case, RepoSequence needs two methods:
  * A tryStore method which returns a completed RefUpdate, which may or
    may not have succeeded. This return value is essentially an
    encapsulation of the RefUpdate.Result and the ref name; the latter
    is necessary for producing detailed error messages.
  * A checked store method which throws an exception if the result of
    tryStore was not success. This in turn delegates to a new
    RefUpdateUtil#checkResult method paralleling the existing
    checkResults.

Change-Id: Ibbe99972697cb4cb837673f19d7a6fac8b90fce0
2018-11-14 11:11:32 -08:00
..
com/google/gerrit Factor out common code from RepoSequence 2018-11-14 11:11:32 -08:00
gerrit Add a method to query accounts only by their external ID's email 2018-06-29 14:35:36 +00:00
org Remove GWT UI 2018-11-13 15:06:26 -08:00
BUILD Dissolve gerrit-launcher top-level directory 2017-10-31 11:02:37 -04:00
Main.java Add support for logging tags 2018-08-14 08:07:59 +02:00