I do not see what this accomplishes (how it fixes an error). You are
explicitely casting a ParameterParser to a ValueParser, but this should
not be required.
john mcnally
Jason Kary wrote:
>
> Hi,
>
> Here is a patch file for the file org.apache.turbine.tool.IntakeTool.
> When initializing the intake tool I was getting a method not found
> error. It seemed to be a casting problem...
>
> Take Care.
> Jason Kary
>
> ------------------------------------------------------------------------
> Index: src/tool/org/apache/turbine/tool/IntakeTool.java
> ===================================================================
> RCS file:
>/home/cvspublic/jakarta-turbine-3/src/tool/org/apache/turbine/tool/IntakeTool.java,v
> retrieving revision 1.3
> diff -r1.3 IntakeTool.java
> 57a58
> > import org.apache.fulcrum.util.parser.ValueParser;
> 58a60
> > import org.apache.turbine.ParameterParser;
> 80c82,84
> < super.init( ((RunData)runData).getParameters() );
> ---
> > RunData rd = (RunData)runData;
> > ParameterParser pp = rd.getParameters();
> > super.init( (ValueParser)pp );
>
> ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]