summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorRobin Stocker2010-10-29 09:27:10 (EDT)
committer Robin Stocker2010-10-29 09:27:10 (EDT)
commit8cbed3462ea93dfbd50d8cdf1160aa622acd3178 (patch)
treedd411673618956b6c74128f6bdbd23582358a579
parent7f939ba86e4c4ce379b4dc62045109a91e97dd72 (diff)
downloadjgit-8cbed3462ea93dfbd50d8cdf1160aa622acd3178.zip
jgit-8cbed3462ea93dfbd50d8cdf1160aa622acd3178.tar.gz
jgit-8cbed3462ea93dfbd50d8cdf1160aa622acd3178.tar.bz2
Make private final field staticrefs/changes/24/1824/1
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 d812551..38f5e3a 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;