summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/src/org/eclipse
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2012-12-12 08:32:11 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2012-12-12 08:32:33 +0100
commitbf0dc41362728f325269e5f04a416981d04f402c (patch)
tree498d2955de6c47cd66230227690c02195d541a1d /org.eclipse.jgit.pgm/src/org/eclipse
parent7b1d7ac90e86b058596a7d2996fdf186db5a59c6 (diff)
downloadjgit-bf0dc41362728f325269e5f04a416981d04f402c.tar.gz
jgit-bf0dc41362728f325269e5f04a416981d04f402c.zip
Fix hidden field warning
Change-Id: Ic52527c32f8167db3c7bb7fa0297c86fee21da27 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/src/org/eclipse')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Archive.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Archive.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Archive.java
index 7a2d5de75e..963528d106 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Archive.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Archive.java
@@ -82,7 +82,7 @@ class Archive extends TextBuiltin {
final ObjectReader reader = walk.getObjectReader();
final MutableObjectId idBuf = new MutableObjectId();
final Archiver fmt = formats.get(format);
- final ArchiveOutputStream out = fmt.createArchiveOutputStream(outs);
+ final ArchiveOutputStream outa = fmt.createArchiveOutputStream(outs);
if (tree == null)
throw die(CLIText.get().treeIsRequired);
@@ -100,10 +100,10 @@ class Archive extends TextBuiltin {
continue;
walk.getObjectId(idBuf, 0);
- fmt.putEntry(name, mode, reader.open(idBuf), out);
+ fmt.putEntry(name, mode, reader.open(idBuf), outa);
}
- out.close();
+ outa.close();
}
static private void warnArchiveEntryModeIgnored(String name) {