removed Type.VOID
removed no longer needed check from CachingTask
removed no longer needed null check
fixed comment typo