I think that I will modify the upload service to accept these classes as parameters. I will make those new methods deprecated. I just don't want anyone's code to break just by upgrading to the 2.3 version...
> -----Original Message----- > From: Martin Poeschl [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 1:31 PM > To: Turbine Developers List > Subject: Re: cvs commit: > jakarta-turbine-2/src/java/org/apache/turbine/util/upload > FileItem.java MultipartStream.java > > > they should be removed as they could not be used .. or maybe > they coukld > work as a facade for the versions in commons > > martin > > [EMAIL PROTECTED] wrote: > > >quintonm 2003/02/11 09:52:51 > > > > Modified: src/java/org/apache/turbine/util/upload FileItem.java > > MultipartStream.java > > Log: > > Both classes deprecated since the code has been refactored into > > commons-fileupload > > > > Revision Changes Path > > 1.7 +2 -1 > jakarta-turbine-2/src/java/org/apache/turbine/util/upload/File > Item.java > > > > Index: FileItem.java > > =================================================================== > > RCS file: > > > /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/u > pload/FileItem.java,v > > retrieving revision 1.6 > > retrieving revision 1.7 > > diff -u -r1.6 -r1.7 > > --- FileItem.java 11 Jul 2002 16:53:19 -0000 1.6 > > +++ FileItem.java 11 Feb 2003 17:52:51 -0000 1.7 > > @@ -93,6 +93,7 @@ > > * @author <a href="mailto:[EMAIL PROTECTED]">Sean Legassick</a> > > * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a> > > * @version $Id$ > > + * @deprecated use commons-fileupload instead > > */ > > public class FileItem implements DataSource > > { > > > > > > > > 1.2 +6 -5 > jakarta-turbine-2/src/java/org/apache/turbine/util/upload/Mult > ipartStream.java > > > > Index: MultipartStream.java > > =================================================================== > > RCS file: > > > /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/u > pload/MultipartStream.java,v > > retrieving revision 1.1 > > retrieving revision 1.2 > > diff -u -r1.1 -r1.2 > > --- MultipartStream.java 16 Aug 2001 05:10:03 -0000 1.1 > > +++ MultipartStream.java 11 Feb 2003 17:52:51 -0000 1.2 > > @@ -25,13 +25,13 @@ > > * Alternately, this acknowledgment may appear in the > software itself, > > * if and wherever such third-party acknowledgments > normally appear. > > * > > - * 4. The names "Apache" and "Apache Software Foundation" and > > - * "Apache Turbine" must not be used to endorse or > promote products > > - * derived from this software without prior written > permission. For > > + * 4. The names "Apache" and "Apache Software Foundation" and > > + * "Apache Turbine" must not be used to endorse or > promote products > > + * derived from this software without prior written > permission. For > > * written permission, please contact [EMAIL PROTECTED] > > * > > * 5. Products derived from this software may not be > called "Apache", > > - * "Apache Turbine", nor may "Apache" appear in their > name, without > > + * "Apache Turbine", nor may "Apache" appear in their > name, without > > * prior written permission of the Apache Software Foundation. > > * > > * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED > OR IMPLIED > > @@ -113,6 +113,7 @@ > > * > > * @author <a > href="mailto:[EMAIL PROTECTED]">Rafal Krzewski</a> > > * @version $Id$ > > + * @deprecated use commons-fileupload instead > > */ > > public class MultipartStream > > { > > > > > > > > > >--------------------------------------------------------------------- > >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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
