소스 검색

Enable call chaining on LsRemoteCommand methods

Change-Id: I706332386415892d7a964b241442832ad79fa223
tags/v2.0.0.201206130900-r
Dave Borowitz 12 년 전
부모
커밋
37307af6b4
1개의 변경된 파일10개의 추가작업 그리고 4개의 파일을 삭제
  1. 10
    4
      org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java

+ 10
- 4
org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java 파일 보기

@@ -106,27 +106,33 @@ public class LsRemoteCommand extends
* Include refs/heads in references results
*
* @param heads
* @return {@code this}
*/
public void setHeads(boolean heads) {
public LsRemoteCommand setHeads(boolean heads) {
this.heads = heads;
return this;
}

/**
* Include refs/tags in references results
*
* @param tags
* @return {@code this}
*/
public void setTags(boolean tags) {
public LsRemoteCommand setTags(boolean tags) {
this.tags = tags;
return this;
}

/**
* The full path of git-upload-pack on the remote host
*
* @param uploadPack
* @return {@code this}
*/
public void setUploadPack(String uploadPack) {
public LsRemoteCommand setUploadPack(String uploadPack) {
this.uploadPack = uploadPack;
return this;
}

/**
@@ -193,4 +199,4 @@ public class LsRemoteCommand extends
}
}

}
}

Loading…
취소
저장