Sorry, I didn't notice this email initially. This constant makes it
possible for TestMap (and other subclasses, if necessary) to automatically
check CVS for a versionX copy of a Serialized object, so we can make sure
that compatibility is maintained. See, for example,
TestMap.getCanonicalFullMapName(Map map).
I'll check in a comment to that effect.
- Morgan
----- Original Message -----
From: "Daniel Rall" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
Sent: Friday, February 22, 2002 5:22 PM
Subject: Re: cvs commit:
jakarta-commons/collections/src/test/org/apache/commons/collections
TestObject.java
> What's the point of this one (just curious)?
>
> [EMAIL PROTECTED] writes:
>
> > morgand 02/02/22 14:01:32
> >
> > Modified: collections/src/test/org/apache/commons/collections
> > TestObject.java
> > Log:
> > constant to indicate which major release we are working on
> >
> > Revision Changes Path
> > 1.4 +6 -4
jakarta-commons/collections/src/test/org/apache/commons/collections/TestObje
ct.java
> >
> > Index: TestObject.java
> > ===================================================================
> > RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collection
s/TestObject.java,v
> > retrieving revision 1.3
> > retrieving revision 1.4
> > diff -u -r1.3 -r1.4
> > --- TestObject.java 22 Feb 2002 02:18:50 -0000 1.3
> > +++ TestObject.java 22 Feb 2002 22:01:32 -0000 1.4
> > @@ -1,7 +1,7 @@
> > /*
> > - * $Header:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collection
s/TestObject.java,v 1.3 2002/02/22 02:18:50 mas Exp $
> > - * $Revision: 1.3 $
> > - * $Date: 2002/02/22 02:18:50 $
> > + * $Header:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collection
s/TestObject.java,v 1.4 2002/02/22 22:01:32 morgand Exp $
> > + * $Revision: 1.4 $
> > + * $Date: 2002/02/22 22:01:32 $
> > *
> > *
====================================================================
> > *
> > @@ -90,12 +90,14 @@
> > * test case (method) your {@link Object} fails.
> > *
> > * @author Rodney Waldhoff
> > - * @version $Id: TestObject.java,v 1.3 2002/02/22 02:18:50 mas Exp $
> > + * @version $Id: TestObject.java,v 1.4 2002/02/22 22:01:32 morgand
Exp $
> > */
> > public abstract class TestObject extends TestCase {
> > public TestObject(String testName) {
> > super(testName);
> > }
> > +
> > + public static final String COLLECTIONS_VERSION = "version2";
> >
> > /**
> > * Return a new, empty {@link Object} to used for testing.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>