Fix compile failure due to change in Liferay 6.2 SNAPSHOT API