No functional change.
This did not make sense: the pattern was compiled and then the string compiled was retrieved.
Also removes 2 trailing blanks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542704 13f79535-47bb-0310-9956-ffa450edef68