LPS-46804

follow up from https://github.com/juliocamarero/liferay-portal/pull/2898