lojix/logic/src/main/com/thesett/aima/logic/fol/Variable.java
public Variable acceptTransformer(TermTransformer transformer)
    {
        if (transformer instanceof VariableTransformer)
        {
            return ((VariableTransformer) transformer).transform(this);
        }
        else
        {
            return (Variable) super.acceptTransformer(transformer);
        }
    }
public Variable acceptTransformer(TermTransformer transformer)
    {
        if (transformer instanceof VariableTransformer)
        {
            return ((VariableTransformer) transformer).transform(this);
        }
        else
        {
            return (Variable) super.acceptTransformer(transformer);
        }
    }
{@inheritDoc}