Author: jleroux
Date: Mon Nov 18 09:45:33 2013
New Revision: 1542959
URL:
http://svn.apache.org/r1542959Log:
Makes createOrGetPerl5CompiledPattern static
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/PatternFactory.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/PatternFactory.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/PatternFactory.java?rev=1542959&r1=1542958&r2=1542959&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/PatternFactory.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/PatternFactory.java Mon Nov 18 09:45:33 2013
@@ -41,7 +41,7 @@ public class PatternFactory {
* @throws MalformedPatternException
*/
- public Pattern createOrGetPerl5CompiledPattern(String stringPattern, boolean caseSensitive) throws MalformedPatternException {
+ public static Pattern createOrGetPerl5CompiledPattern(String stringPattern, boolean caseSensitive) throws MalformedPatternException {
Pattern pattern = compiledPerl5Patterns.get(stringPattern);
if (pattern == null) {
Perl5Compiler compiler = new Perl5Compiler();