vilmospapp/liferay-portal — pull request #52 by danielkocsis (2014-05-07 09:48:47+00:00)
Title: LPS-44722

Hey Vili,

please see my changes. I tried to simplify the algorithm to have less loops and methods used to determine the right layout revisions. Please finish my code with some checks/orderinngs to keep the correct revison and also please check the naming of the methods like checkDefaultLayoutSetBranches, maybe we cane find a more descriptieve name or we can refactor the method into parts and name it after the funtionality.

thanks,
Dani