hhuijser/liferay-portal — pull request #2230 by mtambara (2014-11-25 22:58:33+00:00)
Title: XMLSourceProcessor

@lesliewong92
I'm trying to speed up the source formatter and I came across this in XMLSourceProcessor. Is there some reason we use a regex when it seems like String.startsWith() works? At least, nothing changes when I run ant format-source. My change reduces the runtime of XMLSourceProcessor by about 20%, so it'd be nice if this is valid.