[rules-users] Why disable properyreactive if amount of properties larger than or equals to 64

richie haoruiqian at gmail.com
Mon Oct 14 05:50:06 EDT 2013


In this code drools-compiler / src / main / java / org / drools / compiler /
compiler / PackageBuilder.java (Line 2515):
    private void setPropertyReactive(Resource resource, TypeDeclaration
type, boolean propertyReactive) {
        *if ( propertyReactive && type.getSettableProperties().size() >= 64
) {*
            this.results.add( new DisabledPropertyReactiveWarning( resource,
type.getTypeName() ) );
            *type.setPropertyReactive( false );*
        } else {
            type.setPropertyReactive( propertyReactive );
        }
    }

As we can see, if amount of properties is larger than or equals to 64, will
disable the property active, why? Is there any special reason?



--
View this message in context: http://drools.46999.n3.nabble.com/Why-disable-properyreactive-if-amount-of-properties-larger-than-or-equals-to-64-tp4026359.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list