Browse Source

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
stable-4.9
Rüdiger Herrmann 7 years ago committed by Matthias Sohn
parent
commit
5e3a714221
  1. 2
      org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevParse.java

2
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevParse.java

@ -68,7 +68,7 @@ class RevParse extends TextBuiltin {
boolean verify; boolean verify;
@Argument(index = 0, metaVar = "metaVar_commitish") @Argument(index = 0, metaVar = "metaVar_commitish")
private final List<ObjectId> commits = new ArrayList<>(); private List<ObjectId> commits = new ArrayList<>();
@Override @Override
protected void run() throws Exception { protected void run() throws Exception {

Loading…
Cancel
Save