public static void removeExplainHintAnnotationsFromBOp(final BOp bop){
  final Iterator<BOp> explainHintAnnotatedBOps=ExplainHints.explainHintAnnotatedBOpIterator(bop);
  final List<BOp> nodesWithExplainHints=new ArrayList<BOp>();
  while (explainHintAnnotatedBOps.hasNext()) {
    nodesWithExplainHints.add(explainHintAnnotatedBOps.next());
  }
  for (  final BOp nodeWithExplainHint : nodesWithExplainHints) {
    nodeWithExplainHint.setProperty(Annotations.EXPLAIN_HINTS,null);
  }
}

public static void removeExplainHintAnnotationsFromBOp ( final BOp bop ) { final Iterator < BOp > explainHintAnnotatedBOps = ExplainHints . explainHintAnnotatedBOpIterator ( bop ) ; final List < BOp > nodesWithExplainHints = new ArrayList < BOp > ( ) ; while ( explainHintAnnotatedBOps . hasNext ( ) ) { nodesWithExplainHints . add ( explainHintAnnotatedBOps . next ( ) ) ; } for ( final BOp nodeWithExplainHint : nodesWithExplainHints ) { nodeWithExplainHint . setProperty ( Annotations . EXPLAIN_HINTS , null ) ; } }
utility function to remove explain hint annotations from a bop . for use in test case to ease comparison . be careful , since this modifies the argument .
