| commit | b3fe88154a07a1435903f361842fbfa2256ea10f | [log] [tgz] |
|---|---|---|
| author | jlabanca@google.com <jlabanca@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Oct 05 17:51:03 2010 +0000 |
| committer | jlabanca@google.com <jlabanca@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Oct 05 17:51:03 2010 +0000 |
| tree | 15a7cf613e598011b1335d70072f8499d9891ecb | |
| parent | b4d818c543cc82cc29ef688b0bf02bd9fb505a31 [diff] |
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: kprobst@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8940 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java b/samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java index ca97c30..2610237 100644 --- a/samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java +++ b/samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java
@@ -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"); } }