Service implementations should not reference their wrapper code.
Since there's no reasoning for this change in the commit log, -1.
Dan
> Index: FileHandlerUploadService.java
> ===================================================================
> RCS file:
>/home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/upload/FileHandlerUploadService.java,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -r1.7 -r1.8
> --- FileHandlerUploadService.java 2001/05/18 18:25:55 1.7
> +++ FileHandlerUploadService.java 2001/05/20 00:04:05 1.8
> @@ -58,7 +58,7 @@
> import org.apache.turbine.services.TurbineBaseService;
> import org.apache.turbine.util.ParameterParser;
> import org.apache.turbine.util.TurbineException;
> -import org.apache.turbine.util.upload.FileHandler;
> +//import org.apache.turbine.util.upload.FileHandler;
>
> /**
> * <p> This is an implementation of {@link UploadService} that uses
> @@ -71,7 +71,7 @@
> *
> * @author <a href="mailto:[EMAIL PROTECTED]">Rafal Krzewski</a>
> * @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
> - * @version $Id: FileHandlerUploadService.java,v 1.7 2001/05/18 18:25:55 dlr Exp $
> + * @version $Id: FileHandlerUploadService.java,v 1.8 2001/05/20 00:04:05 jon Exp $
> * @deprecated use TurbineUploadService
> */
> public class FileHandlerUploadService
> @@ -93,6 +93,8 @@
> String path )
> throws TurbineException
> {
> + TurbineUpload.parseRequest(req, params, path);
> + /*
> String fileRepository = getRepository();
> FileHandler handler = new FileHandler( req, params, fileRepository );
> handler.setMaxSize( getSizeMax() );
> @@ -105,5 +107,6 @@
> throw new TurbineException("File upload using FileHandler failed",
> e);
> }
> + */
> }
> }
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]