brianchandotcom/liferay-portal — pull request #7373 by rotty3000 (2012-10-19 17:13:18+00:00)
Title: LPS-30167

@sergiogonzalez @achaparro please note the formatting changes, also, it doesn't hurt to explain very complex logic using comments (even if they may potentially get removed), it means clearer understanding for the reviewers and less need to go back to you for the explanation, thx