public boolean revisionContainsTemplateNames(int revId,List<String> templateNames) throws WikiApiException {
  List<String> tplList=getTemplateNamesFromRevision(revId);
  for (  String tpl : tplList) {
    for (    String templateName : templateNames) {
      if (tpl.equalsIgnoreCase(templateName)) {
        return true;
      }
    }
  }
  return false;
}

public boolean revisionContainsTemplateNames ( int revId , List < String > templateNames ) throws WikiApiException { List < String > tplList = getTemplateNamesFromRevision ( revId ) ; for ( String tpl : tplList ) { for ( String templateName : templateNames ) { if ( tpl . equalsIgnoreCase ( templateName ) ) { return true ; } } } return false ; }
determines whether a given revision contains a given template name
