Liferay Interview Question

Find a bug in the code provided?