incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wso...@apache.org
Subject svn commit: r754605 - /incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
Date Sun, 15 Mar 2009 03:02:05 GMT
Author: wsobel
Date: Sun Mar 15 03:02:03 2009
New Revision: 754605

URL: http://svn.apache.org/viewvc?rev=754605&view=rev
Log:
Fix for OLIO-77: Cleaned up logging for loadImages

Modified:
    incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java

Modified: incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
URL: http://svn.apache.org/viewvc/incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java?rev=754605&r1=754604&r2=754605&view=diff
==============================================================================
--- incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
(original)
+++ incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
Sun Mar 15 03:02:03 2009
@@ -413,9 +413,6 @@
 
         Set<String> images = parseImages(responseBuffer);
         if (!isCached) {
-
-            // Fetch the CSS/JS files
-
             loadStatics(homepageStatics);
         }
         loadImages(images);
@@ -734,13 +731,13 @@
             }
             endIdx = elText.indexOf(")", idx2 + attrStartLen);
             if (endIdx == -1) {
-                logger.warning("No img src attribute ending. Weird! " + elText);
+                logger.warning("No ) attribute ending. Weird! " + elText);
                 continue;
             }
 
             String link = elText.substring(idx2 + attrStartLen, endIdx);
             if (link.startsWith("/uploaded_files")) {
-                String url = baseURL + '/' + link;
+                String url = baseURL + link;
 
                 logger.finer("Adding " + url + " from idx " + idx);
                 urlSet.add(url);



Mime
View raw message