aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm
diff options
context:
space:
mode:
authorRĂ¼diger Herrmann <ruediger.herrmann@gmx.de>2017-11-18 20:23:57 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2017-11-19 00:26:13 +0100
commit5e3a714221be22673ab8e3855b136b906f2c9c85 (patch)
tree961786a2ae8d7e9eb2d93f46baded2cfc4c17d78 /org.eclipse.jgit.pgm
parentf67af4e16b3adc0d2c14fa5e2fdc594975e7fe40 (diff)
downloadjgit-5e3a714221be22673ab8e3855b136b906f2c9c85.tar.gz
jgit-5e3a714221be22673ab8e3855b136b906f2c9c85.zip
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] https://github.com/kohsuke/args4j/commit/6e11f89d40dcc518c0e5eb9eef5d74f05d58e6af See-also: a0558b709448cea01cc0725fff73408d9b223c72 Signed-off-by: RĂ¼diger Herrmann <ruediger.herrmann@gmx.de> Change-Id: I33b233f195c06855d9e094c8c9ba804fbe7b1438
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevParse.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevParse.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevParse.java
index fa9f64de4f..2157034094 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevParse.java
+++ b/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 {