summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2014-05-30 16:14:28 +0200
committerRobin Rosenberg <robin.rosenberg@dewire.com>2014-06-04 10:36:58 +0200
commit9e7fa6dd33dd02ba08b056adcf9f65a4447b3ffa (patch)
tree053b14350a89f43a9b152b589963c804b70a1a0b /org.eclipse.jgit
parent0b9bef49f4f29cbfefad2ce3235c1d037e983b1d (diff)
downloadjgit-9e7fa6dd33dd02ba08b056adcf9f65a4447b3ffa.tar.gz
jgit-9e7fa6dd33dd02ba08b056adcf9f65a4447b3ffa.zip
Make JavaDoc validator happy by declaring GitAPIException on callAsMap
Change-Id: I9caa559a3d4eb0ec93d90cf1e18aed785ef85a84
Diffstat (limited to 'org.eclipse.jgit')
-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