Fix violations of a handful of Error Prone checks (#5519)

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
This commit is contained in:
Basil CrowandDaniel Beck authored and GitHub committed 2021-06-14 16:45:34 +01:00
1 parent 862acf3e2d
commit b8c20c6428
80 files changed
+135 -221

No files matched your search

-5
View File
@@ -236,8 +236,6 @@ public class Functions {
/**
* Returns a localized string for the specified date, not including time.
* @param date
* @return
*/
@Restricted(NoExternalUse.class)
public static String localDate(Date date) {
@@ -250,9 +248,6 @@ public class Functions {
/**
* Returns a human-readable string describing the time difference between now and the specified date.
*
* @param date
* @return
*/
@Restricted(NoExternalUse.class)
public static String getTimeSpanString(Date date) {