[jboss-cvs] JBossAS SVN: r78888 - trunk/system/src/main/org/jboss/system/server/profile/basic.

Sreenivas Nallam na.sreenivas at gmail.com
Fri Sep 26 10:36:48 EDT 2008


On 26/09/2008, jboss-cvs-commits at lists.jboss.org
<jboss-cvs-commits at lists.jboss.org> wrote:
> Author: alesj
> Date: 2008-09-26 10:21:34 -0400 (Fri, 26 Sep 2008)
> New Revision: 78888
>
> Modified:
>
> trunk/system/src/main/org/jboss/system/server/profile/basic/JspAndHtmlExcludeVirtualFileFilter.java
> Log:
> Fix the regexp.
>
> Modified:
> trunk/system/src/main/org/jboss/system/server/profile/basic/JspAndHtmlExcludeVirtualFileFilter.java
> ===================================================================
> ---
> trunk/system/src/main/org/jboss/system/server/profile/basic/JspAndHtmlExcludeVirtualFileFilter.java	2008-09-26
> 13:57:02 UTC (rev 78887)
> +++
> trunk/system/src/main/org/jboss/system/server/profile/basic/JspAndHtmlExcludeVirtualFileFilter.java	2008-09-26
> 14:21:34 UTC (rev 78888)
> @@ -28,13 +28,12 @@
>
>  /**
>   * Exclude .jsp and .(x)html files.
> - * // TODO - test this!
>   *
>   * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
>   */
>  public class JspAndHtmlExcludeVirtualFileFilter implements
> VirtualFileFilter
>  {
> -   private static Pattern pattern =
> Pattern.compile("[.]+\\.(jsp|[x]?html)");
> +   private static Pattern pattern =
> Pattern.compile("[^.]+\\.(jsp|[x]?html)");
>
>     public boolean accepts(VirtualFile file)
>     {
>
> _______________________________________________
> jboss-cvs-commits mailing list
> jboss-cvs-commits at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-cvs-commits
>



More information about the jboss-cvs-commits mailing list