Reviewers: kathrin,
Description:
Remove extra slash from request URL of Showcase source files to be
compatible with servers that do not all double slashses.
Please review this at http://gwt-code-reviews.appspot.com/961801/show
Affected files:
M
samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java
Index:
samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java
===================================================================
---
samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java
(revision 8936)
+++
samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java
(working copy)
@@ -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