diff options
author | Robin Stocker <robin@nibor.org> | 2010-10-29 15:27:10 +0200 |
---|---|---|
committer | Robin Stocker <robin@nibor.org> | 2010-10-29 15:27:10 +0200 |
commit | 8cbed3462ea93dfbd50d8cdf1160aa622acd3178 (patch) | |
tree | dd411673618956b6c74128f6bdbd23582358a579 | |
parent | 7f939ba86e4c4ce379b4dc62045109a91e97dd72 (diff) | |
download | jgit-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.java | 2 |
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; |