cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1441122 - /cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java
Date Thu, 31 Jan 2013 18:57:34 GMT
Author: dkulp
Date: Thu Jan 31 18:57:33 2013
New Revision: 1441122

URL: http://svn.apache.org/viewvc?rev=1441122&view=rev
Log:
More images fixes

Modified:
    cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java

Modified: cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java
URL: http://svn.apache.org/viewvc/cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java?rev=1441122&r1=1441121&r2=1441122&view=diff
==============================================================================
--- cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java (original)
+++ cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java Thu Jan 31 18:57:33
2013
@@ -230,7 +230,7 @@ public class ConfluenceCleanupWriter ext
                 if (cls == null) {
                     href = href.substring(0, href.lastIndexOf('?'));
                     href = href.substring(href.lastIndexOf('/'));
-                    String dirName = page.getPath();
+                    String dirName = page.createFileName();
                     dirName = dirName.substring(0, dirName.lastIndexOf(".")) + ".data";
 
                     newAtts.addMapping("src", dirName + href);
@@ -242,7 +242,7 @@ public class ConfluenceCleanupWriter ext
                         System.out.println("Could not download userLogo " + href 
                                            + " linked from " + page.getTitle());        
           
                     }
-                    String dirName = page.getPath();
+                    String dirName = page.createFileName();
                     dirName = dirName.substring(0, dirName.lastIndexOf(".")) + ".userimage/";
 
                     newAtts.addMapping("src", dirName + name);                    
@@ -257,7 +257,7 @@ public class ConfluenceCleanupWriter ext
                     System.out.println("Could not download thumbnail " + href 
                                        + " linked from " + page.getTitle());            
       
                 }
-                String dirName = page.getPath();
+                String dirName = page.createFileName();
                 dirName = dirName.substring(0, dirName.lastIndexOf(".")) + ".thumbs/";
 
                 newAtts.addMapping("src", dirName + name);



Mime
View raw message