summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorJonathan Nieder <jrn@google.com>2017-02-15 16:00:34 -0800
committerJonathan Nieder <jrn@google.com>2017-02-15 16:01:42 -0800
commitb537e372c903be9faa27b3f7c1aeb0e990a530c6 (patch)
tree62aa4c05c8e551a801838c7c6fd9ee7dd257c17a /org.eclipse.jgit
parent87d81a730134186f86797c40934ecdfd9e1e9074 (diff)
downloadjgit-b537e372c903be9faa27b3f7c1aeb0e990a530c6.tar.gz
jgit-b537e372c903be9faa27b3f7c1aeb0e990a530c6.zip
Update name of InsecureCipherMode error-prone pattern
Without this, using bazel 0.4.4 to build fails: ERROR: jgit/org.eclipse.jgit/BUILD:29:1: Java compilation in rule '//org.eclipse.jgit:insecure_cipher_factory' failed: Worker process sent response with exit code: 1. jgit/src/org/eclipse/jgit/transport/InsecureCipherFactory.java:63: error: [InsecureCryptoUsage] Insecure usage of a crypto API: the transformation is not a compile-time constant expression. return Cipher.getInstance(algo); ^ (see http://errorprone.info/bugpattern/InsecureCryptoUsage) Change-Id: I7f9a3a5117e42cb68544674f5312df0368aa3674
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/BUILD b/org.eclipse.jgit/BUILD
index a9b01e9ea6..ed0fbf0650 100644
--- a/org.eclipse.jgit/BUILD
+++ b/org.eclipse.jgit/BUILD
@@ -29,5 +29,5 @@ java_library(
java_library(
name = "insecure_cipher_factory",
srcs = INSECURE_CIPHER_FACTORY,
- javacopts = ["-Xep:InsecureCipherMode:OFF"],
+ javacopts = ["-Xep:InsecureCryptoUsage:OFF"],
)