Hi,

I am implementing an index store with store specific expressoin
factories and have perhaps found an error in the
BasicExpressionCompiler.createExpression method.

In the constructor the property and content expression factories are
obtained an initialised, but in createExpression they are requested
again, but not initialised.

Why are they requested again?

Would it not be better to use the previously initialised members i.e.:

        if (isContentExpression (expressionElement)) {
            factory = contentExpressionFactory;
        }
        else {
            factory = propertiesExpressionFactory;
        }
   
Cheers

Rob Tomlin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to