@Override protected void assertDependentMetricsExist(List<String> dependentDimensions){
  for (  String dependentDimension : dependentDimensions) {
    if (dimensionDictionary.findByApiName(dependentDimension) == null) {
      String message=String.format("Cardinality metric dependent dimension %s is not in the dimension dictionary",dependentDimension);
      LOG.error(message);
      throw new IllegalArgumentException(message);
    }
  }
}

@ Override protected void assertDependentMetricsExist ( List < String > dependentDimensions ) { for ( String dependentDimension : dependentDimensions ) { if ( dimensionDictionary . findByApiName ( dependentDimension ) == null ) { String message = String . format ( "Cardinality metric dependent dimension %s is not in the dimension dictionary" , dependentDimension ) ; LOG . error ( message ) ; throw new IllegalArgumentException ( message ) ; } } }
cardinality metrics depend on dimensions not metrics .
