summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2016-11-14 14:52:46 -0800
committerDavid Pursehouse <david.pursehouse@gmail.com>2016-11-14 15:52:43 -0800
commit2685f4b1013a13902e53f4e854f4864c2f97e528 (patch)
tree97cc3c8007eabeb7daddae0b6ba344e432c59cce /org.eclipse.jgit/src
parent3b2248c5cf5a4e6e725d9a12011ee8bd0ed18ccd (diff)
downloadjgit-2685f4b1013a13902e53f4e854f4864c2f97e528.tar.gz
jgit-2685f4b1013a13902e53f4e854f4864c2f97e528.zip
Fix cryptoVer constant name to CRYPTO_VER
Change-Id: I46c39f2eceb4d58e49bd6273b87711f35250ab5c
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkEncryption.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkEncryption.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkEncryption.java
index bdac7eb303..4c3fdd84f2 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkEncryption.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkEncryption.java
@@ -175,7 +175,7 @@ abstract class WalkEncryption {
// Size 16, see com.sun.crypto.provider.AESConstants.AES_BLOCK_SIZE
static final byte[] ZERO_AES_IV = new byte[16];
- private static final String cryptoVer = VERSION;
+ private static final String CRYPTO_VER = VERSION;
private final String cryptoAlg;
@@ -227,14 +227,14 @@ abstract class WalkEncryption {
@Override
void request(final HttpURLConnection u, final String prefix) {
- u.setRequestProperty(prefix + JETS3T_CRYPTO_VER, cryptoVer);
+ u.setRequestProperty(prefix + JETS3T_CRYPTO_VER, CRYPTO_VER);
u.setRequestProperty(prefix + JETS3T_CRYPTO_ALG, cryptoAlg);
}
@Override
void validate(final HttpURLConnection u, final String prefix)
throws IOException {
- validateImpl(u, prefix, cryptoVer, cryptoAlg);
+ validateImpl(u, prefix, CRYPTO_VER, cryptoAlg);
}
@Override