[slf4j-dev] svn commit: r895 - slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter

jncharpin at slf4j.org jncharpin at slf4j.org
Fri Sep 14 18:59:19 CEST 2007


Author: jncharpin
Date: Fri Sep 14 18:59:19 2007
New Revision: 895

Modified:
   slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/TriviialMatcher.java

Log:


Modified: slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/TriviialMatcher.java
==============================================================================
--- slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/TriviialMatcher.java	(original)
+++ slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/TriviialMatcher.java	Fri Sep 14 18:59:19 2007
@@ -38,10 +38,10 @@
     MultiGroupConversionRule cr1 = new MultiGroupConversionRule(Pattern.compile("(first group)( second group)( third group)( 4th group)"));
     //group zero is ignored during treatment
     //replacement for the first
-    cr1.addReplacement(Constant.INDEX_1, "1st group");
+    cr1.addReplacement(1, "1st group");
     //no replacement for the second group it will remains the same
     //empty string for the third group it will be deleted
-    cr1.addReplacement(Constant.INDEX_3, "");
+    cr1.addReplacement(3, "");
     //no replacement for the third group it will remains the same
     
     rules = new ArrayList<ConversionRule>();



More information about the slf4j-dev mailing list