private void verifyLegal(String name) throws AdeInternalException {
  if (m_allKeys == null) {
    m_allKeys=new TreeSet<String>();
  }
  if (m_allKeys.contains(name)) {
    throw new AdeInternalException("Duplicate statistic " + name);
  }
  m_allKeys.add(name);
}

private void verifyLegal ( String name ) throws AdeInternalException { if ( m_allKeys == null ) { m_allKeys = new TreeSet < String > ( ) ; } if ( m_allKeys . contains ( name ) ) { throw new AdeInternalException ( "Duplicate statistic " + name ) ; } m_allKeys . add ( name ) ; }
verify if the given statistic name does not already exists
