Documentation should be available before the annotations
Copy the date to avoid exposing internal details of a Task
Add deprecation information to getContent
Replace object comparison with '==' by equals.

Even if both values are Integers, it's preferable to check with equals
Add documentation to SolrTask.Type
Avoid reversing the order with a '-' inverse the comparison instead.

This could cause issues with Integer.MIN_VALUE otherwise
Split complicated condition in easier to understand methods
Make initialisation method public
Add checkstyle using Weblearn style