Fix raw type warning in Timer#compareTo.