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.
Merge pull request #746 from fabiankessler/patch-1

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