Checkstyle
Return 204 rather than 404 when validity dates null
Use System.arrayCopy
Fixing typos
Optimisation from Elaine