public Pair<Set<Issue>,Set<Issue>> check(RamlRoot published,RamlRoot implemented){
  checkChildren(published.getResources(),published,IssueLocation.CONTRACT);
  if (!ignoreCodeStyle && implemented != null) {
    checkChildren(implemented.getResources(),implemented,IssueLocation.SOURCE);
  }
  return new Pair<>(warnings,Collections.emptySet());
}

public Pair < Set < Issue > , Set < Issue > > check ( RamlRoot published , RamlRoot implemented ) { checkChildren ( published . getResources ( ) , published , IssueLocation . CONTRACT ) ; if ( ! ignoreCodeStyle && implemented != null ) { checkChildren ( implemented . getResources ( ) , implemented , IssueLocation . SOURCE ) ; } return new Pair < > ( warnings , Collections . emptySet ( ) ) ; }
performs a specific check across two raml models .
