From: Shawn Pearce Date: Mon, 14 Nov 2016 22:52:46 +0000 (-0800) Subject: Fix cryptoVer constant name to CRYPTO_VER X-Git-Tag: v4.6.0.201612231935-r~36 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2685f4b1013a13902e53f4e854f4864c2f97e528;p=jgit.git Fix cryptoVer constant name to CRYPTO_VER Change-Id: I46c39f2eceb4d58e49bd6273b87711f35250ab5c --- 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