You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/11/18 10:45:33 UTC

svn commit: r1542959 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/PatternFactory.java

Author: jleroux
Date: Mon Nov 18 09:45:33 2013
New Revision: 1542959

URL: http://svn.apache.org/r1542959
Log:
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();