mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 09:06:03 +00:00
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:
1 parent
862acf3e2d
commit
b8c20c6428
80 files changed
+135
-221
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user