commit | 51395eb46e585ab9d0b165126673b690feaf2bf6 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Jun 29 19:42:22 2017 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Tue Jul 25 08:49:12 2017 +0000 |
tree | 39b09d43b7c046d68fe5d4e8fadda60501488164 | |
parent | ff7c4ca26c48a731326fb703264376ed3229c10e [diff] |
RelativeDateFormatter: Remove unnecessary @SuppressWarnings("boxing") This suppression is not needed since we are ignoring warnings about boxing in the compiler settings. Having this suppression causes an "info" warning in Eclipse Oxygen. Change-Id: Iff924a45f7d3d3e7f5a2c7a7fb95f82b1b21233d (cherry picked from commit 56367dd838a7e7b78d903060cc8c12258c8ef021)
diff --git a/gerrit-gwtui-common/src/main/java/com/google/gerrit/client/RelativeDateFormatter.java b/gerrit-gwtui-common/src/main/java/com/google/gerrit/client/RelativeDateFormatter.java index 3045180..7c62ed7 100644 --- a/gerrit-gwtui-common/src/main/java/com/google/gerrit/client/RelativeDateFormatter.java +++ b/gerrit-gwtui-common/src/main/java/com/google/gerrit/client/RelativeDateFormatter.java
@@ -37,7 +37,6 @@ * @return age of given {@link Date} compared to now formatted in the same relative format as * returned by {@code git log --relative-date} */ - @SuppressWarnings("boxing") public static String format(Date when) { long ageMillis = (new Date()).getTime() - when.getTime();