You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/12/07 09:41:03 UTC

[1/2] git commit: WICKET-4915 org.apache.wicket.util.resource.Patht#find fails on Windows

Updated Branches:
  refs/heads/master 5ae1222e2 -> 135d75ff6


WICKET-4915 org.apache.wicket.util.resource.Patht#find fails on Windows

Add javadoc explaining the requirement to be relative


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/135d75ff
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/135d75ff
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/135d75ff

Branch: refs/heads/master
Commit: 135d75ff6de6364796e47b65046210bfa55478f0
Parents: f4c5a3a
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Fri Dec 7 09:40:19 2012 +0100
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Fri Dec 7 09:40:19 2012 +0100

----------------------------------------------------------------------
 .../java/org/apache/wicket/util/file/Path.java     |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/135d75ff/wicket-util/src/main/java/org/apache/wicket/util/file/Path.java
----------------------------------------------------------------------
diff --git a/wicket-util/src/main/java/org/apache/wicket/util/file/Path.java b/wicket-util/src/main/java/org/apache/wicket/util/file/Path.java
index 7338e73..bf2f25a 100644
--- a/wicket-util/src/main/java/org/apache/wicket/util/file/Path.java
+++ b/wicket-util/src/main/java/org/apache/wicket/util/file/Path.java
@@ -59,6 +59,12 @@ public class Path implements IResourceFinder
 	}
 
 	/**
+	 * Looks for {@code pathname} in the provided {@code folder}.
+	 *
+	 * @param clazz
+	 *      The class requesting the resource stream
+	 * @param pathname
+	 *      the path to the needed resource. Must be relative to {@code folder}
 	 * @see org.apache.wicket.util.file.IResourceFinder#find(Class, String)
 	 */
 	@Override