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 56367dd838)
This commit is contained in:
David Pursehouse 2017-06-29 19:42:22 +09:00
parent ff7c4ca26c
commit 51395eb46e
1 changed files with 0 additions and 1 deletions

View File

@ -37,7 +37,6 @@ public class RelativeDateFormatter {
* @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();