Procházet zdrojové kódy

Make JavaDoc validator happy by declaring GitAPIException on callAsMap

Change-Id: I9caa559a3d4eb0ec93d90cf1e18aed785ef85a84
tags/v3.5.0.201409071800-rc1
Robin Rosenberg před 10 roky
rodič
revize
9e7fa6dd33

+ 4
- 0
org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java Zobrazit soubor

@@ -146,6 +146,8 @@ public class LsRemoteCommand extends
* 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 class LsRemoteCommand extends
* 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

Načítá se…
Zrušit
Uložit