rightTuple.setLeftTuple( null );
resultLeftTuple.setObject( null );
DroolsQuery query = (DroolsQuery) this.factHandle.getObject();
RightTupleList rightTuples = query.getResultRetractRightTupleList();
if ( rightTuples == null ) {
rightTuples = new RightTupleList();
query.setResultRetractRightTupleList( rightTuples );
QueryResultRetractAction retractAction = new QueryResultRetractAction( context,
this.factHandle,
leftTuple,
this.node );
context.getQueue2().addFirst( retractAction );
}
if ( rightTuple.getMemory() != null ) {
throw new RuntimeException();
}
rightTuples.add( rightTuple );
}