summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2014-06-06 07:11:10 -0400
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2014-06-06 07:11:10 -0400
commit926627fa41d0a90e4ac49da0644e646711d8de71 (patch)
treea70404d4d1a8d3598201b2265eee4c1296f6c142
parent64b0531c35674df21ed02ab96d5f5bc6f5af7052 (diff)
parent9e7fa6dd33dd02ba08b056adcf9f65a4447b3ffa (diff)
downloadjgit-926627fa41d0a90e4ac49da0644e646711d8de71.tar.gz
jgit-926627fa41d0a90e4ac49da0644e646711d8de71.zip
Merge "Make JavaDoc validator happy by declaring GitAPIException on callAsMap"
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java
index e099a43502..79f718ea8f 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java
@@ -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