소스 검색

Remove final modifier on args4j argument field in RevParse

Args4J does no longer allow to use final fields to reference
arguments or options [1]. Change RevParse to be compatibel with this
change.

[1] 6e11f89d40

See-also: a0558b7094
Signed-off-by: Rüdiger Herrmann <ruediger.herrmann@gmx.de>
Change-Id: I33b233f195c06855d9e094c8c9ba804fbe7b1438
tags/v4.9.1.201712030800-r
Rüdiger Herrmann 6 년 전
부모
커밋
5e3a714221
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevParse.java

+ 1
- 1
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevParse.java 파일 보기

@@ -68,7 +68,7 @@ class RevParse extends TextBuiltin {
boolean verify;

@Argument(index = 0, metaVar = "metaVar_commitish")
private final List<ObjectId> commits = new ArrayList<>();
private List<ObjectId> commits = new ArrayList<>();

@Override
protected void run() throws Exception {

Loading…
취소
저장