private static AbstractExpression transformExpressionRidofPVE ( AbstractExpression src ) { AbstractExpression left = src . getLeft ( ) , right = src . getRight ( ) ; if ( left != null ) { left = transformExpressionRidofPVE ( left ) ; } if ( right != null ) { right = transformExpressionRidofPVE ( right ) ; } final AbstractExpression dst ; if ( src instanceof ParameterValueExpression ) { // assert ( ( ( ParameterValueExpression ) src ) . getOriginalValue ( ) != null ) ; dst = ( ( ParameterValueExpression ) src ) . getOriginalValue ( ) . clone ( ) ; } else { dst = src . clone ( ) ; } dst . setLeft ( left ) ; dst . setRight ( right ) ; return dst ; }
For scope of ENG - 2878 caching would not cause this trouble because parameter