liferay/liferay-portal — pull request #223 by chas66 (2012-04-11 21:37:33+00:00)
Title: fixed infinite loop bugs

findbugs spotted these two inifinite loop bugs. I changed them to the obvious intended implementation.