Cloudera interview question

Do a code review on this java class