Update samples/java/comet-clock/app/controllers/Application.java

even if it's just a simple sample i find this fix important because it's a common bug.