You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by eh...@apache.org on 2007/09/09 11:24:36 UTC
svn commit: r573971 -
/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceGuard.java
Author: ehillenius
Date: Sun Sep 9 02:24:36 2007
New Revision: 573971
URL: http://svn.apache.org/viewvc?rev=573971&view=rev
Log:
javadoc fix
Modified:
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceGuard.java
Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceGuard.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceGuard.java?rev=573971&r1=573970&r2=573971&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceGuard.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceGuard.java Sun Sep 9 02:24:36 2007
@@ -23,8 +23,8 @@
/**
- * Default implementation of {@link IPackageResourceGuard}. By default, the
- * extensions 'properties', 'html', 'class' and 'java' are blocked.
+ * Default implementation of {@link IPackageResourceGuard}. By default, the extensions
+ * 'properties', 'class' and 'java' are blocked.
*
* @author eelcohillenius
*/
@@ -57,8 +57,8 @@
* Whether the provided absolute path is accepted.
*
* @param path
- * The absolute path, starting from the class root (packages are
- * seperated with forward slashes instead of dots).
+ * The absolute path, starting from the class root (packages are seperated with
+ * forward slashes instead of dots).
* @return True if accepted, false otherwise.
*/
protected boolean acceptAbsolutePath(String path)
@@ -74,7 +74,8 @@
{
ext = path.substring(ixExtension + 1).toLowerCase();
}
- if ("html".equals(ext) && getClass().getClassLoader().getResource(path.replaceAll(".html", ".class")) != null)
+ if ("html".equals(ext) &&
+ getClass().getClassLoader().getResource(path.replaceAll(".html", ".class")) != null)
{
return false;
}
@@ -85,8 +86,8 @@
* Whether the provided extension is accepted.
*
* @param extension
- * The extension, starting from the class root (packages are
- * seperated with forward slashes instead of dots).
+ * The extension, starting from the class root (packages are seperated with forward
+ * slashes instead of dots).
* @return True if accepted, false otherwise.
*/
protected boolean acceptExtension(String extension)