You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ka...@apache.org on 2012/05/22 22:06:46 UTC
git commit: TAP5-1935: Use file.toURI().toURL() instead of
file.toURL()
Updated Branches:
refs/heads/master 37efe7eff -> 2afbddda3
TAP5-1935: Use file.toURI().toURL() instead of file.toURL()
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/2afbddda
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/2afbddda
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/2afbddda
Branch: refs/heads/master
Commit: 2afbddda398bc59f6beef14e41017f4b796f4856
Parents: 37efe7e
Author: kaosko <ka...@apache.org>
Authored: Tue May 22 12:47:14 2012 -0700
Committer: kaosko <ka...@apache.org>
Committed: Tue May 22 12:47:14 2012 -0700
----------------------------------------------------------------------
.../internal/services/ContextResource.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/2afbddda/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java
index 7d2db59..681424f 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java
@@ -104,7 +104,7 @@ public class ContextResource extends AbstractResource
{
try
{
- url = file.toURL();
+ url = file.toURI().toURL();
urlResolved = true;
return;
} catch (MalformedURLException ex)