Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/com/webtimer/control/AnneTimes.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t
logger.debug("Use random times");
CountdownTimer.setRandom(true);
break;
case "borrobob_bday":
logger.debug("Is it April 7th already?");
CountdownTimer.congratulate();
break;
case "testing":
logger.debug("Setting the intervals for testing purposes");
CountdownTimer.setAnneTimes(getTimesN_T(3, 5));
Expand Down
4 changes: 4 additions & 0 deletions src/com/webtimer/timer/CountdownTimer.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ public static void setRandom(boolean r) {
}
}

public static void congratulate() {
logger.debug("Happy Birthday Mister Rob! Congratulations for such an extraordinary year!");
}

public static boolean getRandom() {
return useRandom;
}
Expand Down