private void assertNotVariable(final TermNode t) throws VisitorException {
  if (t == null)   return;
  if (!t.isVariable())   return;
  final VarNode v=(VarNode)t;
  if (v.isAnonymous()) {
    return;
  }
  throw new VisitorException("Variable not permitted in this context: " + t);
}

private void assertNotVariable ( final TermNode t ) throws VisitorException { if ( t == null ) return ; if ( ! t . isVariable ( ) ) return ; final VarNode v = ( VarNode ) t ; if ( v . isAnonymous ( ) ) { return ; } throw new VisitorException ( "Variable not permitted in this context: " + t ) ; }
method used to correctly reject variables in an insert data or delete data operation .
