jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r656519 - /incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/content/PageRenamer.java
Date Thu, 15 May 2008 06:50:46 GMT
Author: jalkanen
Date: Wed May 14 23:50:46 2008
New Revision: 656519

URL: http://svn.apache.org/viewvc?rev=656519&view=rev
Log:
Oops, forgot debug code in...

Modified:
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/content/PageRenamer.java

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/content/PageRenamer.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/content/PageRenamer.java?rev=656519&r1=656518&r2=656519&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/content/PageRenamer.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/content/PageRenamer.java Wed May 14 23:50:46
2008
@@ -227,8 +227,8 @@
         
         int start = 0;
         
-        System.out.println("====");
-        System.out.println("SRC="+sourceText.trim());
+        //System.out.println("====");
+        //System.out.println("SRC="+sourceText.trim());
         while( matcher.find(start) )
         {
             if( matcher.group(1).length() > 0 ) 
@@ -244,12 +244,13 @@
             String text = matcher.group(2);
             String link = matcher.group(4);
             String attr = matcher.group(6);
-                        
+             
+            /*
             System.out.println("MATCH="+matcher.group(0));
             System.out.println("   text="+text);
             System.out.println("   link="+link);
             System.out.println("   attr="+attr);
-
+             */
             if( link.length() == 0 )
             {
                 text = replaceSingleLink( context, text, from, to );
@@ -298,7 +299,7 @@
         // WikiPage p  = context.getEngine().getPage( reallink );
         // WikiPage p2 = context.getEngine().getPage( from );
         
-        System.out.println("   "+reallink+" :: "+ from);
+        // System.out.println("   "+reallink+" :: "+ from);
         // System.out.println("   "+p+" :: "+p2);
         
         //



Mime
View raw message