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:
kohsuke committed 2010-01-29 20:21:41 +00:00
1 parent d814c09e33
commit 7e1602415c
3 files changed
+9 -1

No files matched your search

+8
View File
@@ -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]+://.+");