Resolving "CheckStyle' errors. Fixed comments

Fixed context issue and resolved getRandomProcess error.