Small applytask changes  (java 6 compat & names)