Path applied - thanks! On Thu, 17 Jan 2002 14:09, Leif Mortenson wrote: > I was trying to use the ComponentStateValidator with a Component which > was both Configurable and Composable and found a problem. The Validator > expects the configure method to be called before the conpose method, > which is incorrect. > > Here is the diff for the fix I made: > > cvs -z3 diff ComponentStateValidator.java (in directory > E:\Jakarta\jakarta-avalon-excalibur\src\scratchpad\org\apache\avalon\excali >bur\util\) Index: ComponentStateValidator.java > =================================================================== > RCS file: > /home/cvspublic/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/e >xcalibur/util/ComponentStateValidator.java,v retrieving revision 1.5 > diff -r1.5 ComponentStateValidator.java > 49,50c49,50 > < private static final long CONFIGURED = 0x00000008; > < private static final long COMPOSED = 0x00000010; > --- > > > private static final long COMPOSED = 0x00000008; > > private static final long CONFIGURED = 0x00000010; > > Cheers, > Leif
-- Cheers, Pete *------------------------------------------------------* | "Common sense is the collection of prejudices | | acquired by age 18. " -Albert Einstein | *------------------------------------------------------* -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>