Revision: 8940
Author: jlaba...@google.com
Date: Tue Oct  5 10:51:03 2010
Log: Remove extra slash from request URL of Showcase source files to be compatible with servers that do not all double slashses.

Review at http://gwt-code-reviews.appspot.com/961801

Review by: kpro...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=8940

Modified:
/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java

=======================================
--- /trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java Mon Sep 13 12:31:36 2010 +++ /trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java Tue Oct 5 10:51:03 2010
@@ -198,7 +198,7 @@
       String className = this.getClass().getName();
       className = className.substring(className.lastIndexOf(".") + 1);
       sendSourceRequest(
-          rc, ShowcaseConstants.DST_SOURCE_RAW + "/" + filename + ".html");
+          rc, ShowcaseConstants.DST_SOURCE_RAW + filename + ".html");
     }
   }

@@ -264,7 +264,7 @@
       String className = this.getClass().getName();
       className = className.substring(className.lastIndexOf(".") + 1);
       sendSourceRequest(
- rc, ShowcaseConstants.DST_SOURCE_EXAMPLE + "/" + className + ".html");
+          rc, ShowcaseConstants.DST_SOURCE_EXAMPLE + className + ".html");
     }
   }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to