mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 13:32:24 +00:00
Merged revisions 26724 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc ........ r26724 | kohsuke | 2010-01-29 12:03:11 -0800 (Fri, 29 Jan 2010) | 4 lines In tribute to Sun Microsystems and all my colleagues who had to go today. I hope the community would forgive me for doing this. ........ git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26728 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
d814c09e33
commit
7e1602415c
3 files changed
+9
-1
No files matched your search
@@ -1152,6 +1152,14 @@ public class Functions {
|
||||
public static Date getCurrentTime() {
|
||||
return new Date();
|
||||
}
|
||||
|
||||
/**
|
||||
* In tribute to Sun Microsystems and all the people that were a part of it.
|
||||
*/
|
||||
public static String getBackgroundImage() {
|
||||
// for one week.
|
||||
return System.currentTimeMillis() < 1265443200000L ? "rip.jpg" : "hudson.png";
|
||||
}
|
||||
|
||||
private static final Pattern SCHEME = Pattern.compile("[a-z]+://.+");
|
||||
|
||||
|
||||
Reference in new issue
Block a user