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/17 14:52:12 UTC
svn commit: r1542725 -
/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/PatternFactory.java
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();