Merge "Make JavaDoc validator happy by declaring GitAPIException on callAsMap"

This commit is contained in:
Robin Rosenberg 2014-06-06 07:11:10 -04:00 committed by Gerrit Code Review @ Eclipse.org
commit 926627fa41
1 changed files with 4 additions and 0 deletions

View File

@ -146,6 +146,8 @@ public LsRemoteCommand setUploadPack(String uploadPack) {
* of the command. Don't call this method twice on an instance.
*
* @return a collection of references in the remote repository
* @throws GitAPIException
* or subclass thereof when an error occurs
* @throws InvalidRemoteException
* when called with an invalid remote uri
* @throws org.eclipse.jgit.api.errors.TransportException
@ -161,6 +163,8 @@ public Collection<Ref> call() throws GitAPIException,
* Same as {@link #call()}, but return Map instead of Collection.
*
* @return a map from names to references in the remote repository
* @throws GitAPIException
* or subclass thereof when an error occurs
* @throws InvalidRemoteException
* when called with an invalid remote uri
* @throws org.eclipse.jgit.api.errors.TransportException