Merge changes Ie9229923,Ibe1cd165

* changes:
  Change API: Add convenience get() and info() methods
  ChangeJson: Fix reviewed property initialization
This commit is contained in:
Shawn Pearce
2014-02-08 01:41:06 +00:00
committed by Gerrit Code Review
5 changed files with 36 additions and 12 deletions

View File

@@ -40,4 +40,9 @@ public interface ChangeApi {
void addReviewer(String in) throws RestApiException;
ChangeInfo get(EnumSet<ListChangesOption> options) throws RestApiException;
/** {@code get} with {@link ListChangesOption} set to ALL. */
ChangeInfo get() throws RestApiException;
/** {@code get} with {@link ListChangesOption} set to NONE. */
ChangeInfo info() throws RestApiException;
}