[ http://issues.apache.org/struts/browse/SHALE-204?page=all ]

sean schofield updated SHALE-204:
---------------------------------

    Fix Version: Nightly

> Can't build under Java EE 5: MockServletContext missing getContextPath().
> -------------------------------------------------------------------------
>
>          Key: SHALE-204
>          URL: http://issues.apache.org/struts/browse/SHALE-204
>      Project: Shale
>         Type: Bug

>   Components: Test
>     Versions: 1.0.3
>     Reporter: Ed Burns
>     Priority: Minor
>      Fix For: Nightly

>
> Index: MockServletContext.java
> ===================================================================
> --- MockServletContext.java   (revision 417780)
> +++ MockServletContext.java   (working copy)
> @@ -132,7 +132,13 @@
>  
>      }
>  
> +    public String getContextPath() {
>  
> +        throw new UnsupportedOperationException();
> +
> +    }
> +
> +
>      public String getInitParameter(String name) {
>  
>          return (String) parameters.get(name);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to