]> source.dussan.org Git - jgit.git/commitdiff
Make JavaDoc validator happy by declaring GitAPIException on callAsMap 94/27594/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 30 May 2014 14:14:28 +0000 (16:14 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 4 Jun 2014 08:36:58 +0000 (10:36 +0200)
Change-Id: I9caa559a3d4eb0ec93d90cf1e18aed785ef85a84

org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java

index e099a43502496b47b604ef74e0739549d73a0aa6..79f718ea8f14cbb09bf439ed9f43eec7a9ca99dc 100644 (file)
@@ -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