summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker <robin@nibor.org>2010-10-29 15:27:10 +0200
committerRobin Stocker <robin@nibor.org>2010-10-29 15:27:10 +0200
commit8cbed3462ea93dfbd50d8cdf1160aa622acd3178 (patch)
treedd411673618956b6c74128f6bdbd23582358a579
parent7f939ba86e4c4ce379b4dc62045109a91e97dd72 (diff)
downloadjgit-8cbed3462ea93dfbd50d8cdf1160aa622acd3178.tar.gz
jgit-8cbed3462ea93dfbd50d8cdf1160aa622acd3178.zip
Make private final field static
It's used as a constant. Change-Id: Ic267e8cb5b62228de15e134cd80725df592a0171
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackOutputStream.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackOutputStream.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackOutputStream.java
index d812551e58..38f5e3aef7 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackOutputStream.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackOutputStream.java
@@ -56,7 +56,7 @@ import org.eclipse.jgit.util.NB;
/** Custom output stream to support {@link PackWriter}. */
public final class PackOutputStream extends OutputStream {
- private final int BYTES_TO_WRITE_BEFORE_CANCEL_CHECK = 128 * 1024;
+ private static final int BYTES_TO_WRITE_BEFORE_CANCEL_CHECK = 128 * 1024;
private final ProgressMonitor writeMonitor;