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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jleroux@apache.org
Author: jleroux
Date: Sun Nov 17 13:52:11 2013
New Revision: 1542725

URL: http://svn.apache.org/r1542725
Log:
Renames the Perl5 method createOrGetPerl5CompiledPattern, in case later we want to implement other regex flavors

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=1542725&r1=1542724&r2=1542725&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 Sun Nov 17 13:52:11 2013
@@ -41,7 +41,7 @@ public class PatternFactory {
      * @throws MalformedPatternException
      */
 
-    public Pattern createOrGetCompiledPattern(String stringPattern, boolean caseSensitive) throws MalformedPatternException {
+    public Pattern createOrGetPerl5CompiledPattern(String stringPattern, boolean caseSensitive) throws MalformedPatternException {
         Pattern pattern = compiledPerl5Patterns.get(stringPattern);
         if (pattern == null) {
             Perl5Compiler compiler = new Perl5Compiler();