[Schmitzm-commits] r1653 - trunk/schmitzm-core/src/main/java/de/schmitzm/regex

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 27 21:14:49 CEST 2011


Author: alfonx
Date: 2011-07-27 21:14:48 +0200 (Wed, 27 Jul 2011)
New Revision: 1653

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java
Log:
RegEx cahe ist jetzt in Scmitzm

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java	2011-07-27 18:59:05 UTC (rev 1652)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java	2011-07-27 19:14:48 UTC (rev 1653)
@@ -90,7 +90,7 @@
 	 */
 	public final MatchResult result(final String regex, final String value) {
 
-		final Pattern pattern = patterns.get(regex);
+		final Pattern pattern = getPattern(regex);
 
 		LimitedHashMap<String, MyMatchResult> m;
 		synchronized (matchers) {



More information about the Schmitzm-commits mailing list