aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleUpdateCommand.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleUpdateCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleUpdateCommand.java
index 34bfbe75b1..4d3dff02cd 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleUpdateCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleUpdateCommand.java
@@ -240,9 +240,11 @@ public class SubmoduleUpdateCommand extends
*
* @param callback
* the callback
+ * @return {@code this}
* @since 4.8
*/
- public void setCallback(CloneCommand.Callback callback) {
+ public SubmoduleUpdateCommand setCallback(CloneCommand.Callback callback) {
this.callback = callback;
+ return this;
}
}