Hi [EMAIL PROTECTED], 
Let me congratulate You heartily on the Labor Day!
Take a look at the class Product (castor/src/examples/myapp/Product.java).

package myapp;

................
public class Product implements Persistent
{
    ................
    public void addCategory( Category category )
    {
        if ( _categories.contains( category ) ) { 
            _categories.addElement( category );
            category.addProduct( this );
        }
    }
    ..............
}
It seems to be correct to place logical NOT operator "!" before "_categories.contains( 
category )" expression.

Best regards
Dmitry V.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to