diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java index 2b800e6c9..5ea839874 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java @@ -331,7 +331,8 @@ public class CloneCommand extends TransportCommand { /** * @param uri - * the uri to clone from + * the URI to clone from, or {@code null} to unset the URI. + * The URI must be set before {@link #call} is called. * @return this instance */ public CloneCommand setURI(String uri) {