commit | ed95a3c26b5a5ae54764dad5a10202edbfd3446f | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Oct 11 08:25:48 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Oct 11 08:25:48 2018 +0900 |
tree | 00e568d6cd9a2053e2673b3c9c28a36e42ba8c87 | |
parent | c16c794bb7ee58b7d98a363e98245f5b7dedcb1f [diff] |
ImageServlet: Suppress warning about deprecated Hashing.md5() Change-Id: I6562bfd7ce55925892b0d126f02c06218d0d68c5
diff --git a/src/main/java/com/googlesource/gerrit/plugins/imagare/ImageServlet.java b/src/main/java/com/googlesource/gerrit/plugins/imagare/ImageServlet.java index 768ca3e..8252fb2 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/imagare/ImageServlet.java +++ b/src/main/java/com/googlesource/gerrit/plugins/imagare/ImageServlet.java
@@ -208,6 +208,7 @@ return path; } + @SuppressWarnings("deprecation") private static String computeETag(Project.NameKey project, ObjectId revId, String file) { return Hashing.md5() .newHasher()