Dion,

javac.compile:
    [javac] Compiling 233 source files to
G:\cygwin\home\plynch\dev\apache\jakarta-turbine-maven\target\classes
    [javac]
    [javac] Found 1 semantic error compiling
"G:/cygwin/home/plynch/dev/apache/jakarta-turbine-maven/src/java/org/apache/mave
n/struts/Struts10WarFile.java":
    [javac]
    [javac]    322.     public String getActionServletPattern() throws
IOException
    [javac]                    <---------------------------->
    [javac] *** Error: The method "java.lang.String getActionServletPattern();"
must contain a return statement with an expression compatible with type
"String".


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 7:20 PM
Subject: cvs commit: jakarta-turbine-maven/src/java/org/apache/maven/struts
Struts10WarFile.java


> dion        02/05/28 19:20:12
>
>   Modified:    src/java/org/apache/maven/struts Struts10WarFile.java
>   Log:
>   - Missed a file on the forwards validation
>
>   Revision  Changes    Path
>   1.11      +8 -0
jakarta-turbine-maven/src/java/org/apache/maven/struts/Struts10WarFile.java
>
>   Index: Struts10WarFile.java
>   ===================================================================
>   RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/struts/Struts10WarFile
.java,v
>   retrieving revision 1.10
>   retrieving revision 1.11
>   diff -u -r1.10 -r1.11
>   --- Struts10WarFile.java 29 May 2002 00:18:03 -0000 1.10
>   +++ Struts10WarFile.java 29 May 2002 02:20:12 -0000 1.11
>   @@ -75,7 +75,7 @@
>     * Encapsulates a Struts 1.0 War File. Holds functionality to access Struts
>     * specific resources and data in the war.
>     * @author  dion
>   - * @version $Id: Struts10WarFile.java,v 1.10 2002/05/29 00:18:03 dion Exp $
>   + * @version $Id: Struts10WarFile.java,v 1.11 2002/05/29 02:20:12 dion Exp $
>     */
>    public class Struts10WarFile extends WarFile
>    {
>   @@ -313,5 +313,13 @@
>            }
>
>            return forwards;
>   +    }
>   +
>   +    /** retrieve the url pattern for the action servlet
>   +     * @return the &lt;url-pattern&gt provided for the servlet named
'action'
>   +     * @throws IOException when there are problems reading from the war
>   +     */
>   +    public String getActionServletPattern() throws IOException
>   +    {
>        }
>     }
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to