Package com.dianping.cat.home.bug.config.entity

Examples of com.dianping.cat.home.bug.config.entity.Domain


  public Set<String> queryBugConfigsByDomain(String domain) {
    Set<String> result = m_configs.get(domain);

    if (result == null) {
      result = new HashSet<String>();
      Domain config = m_bugConfig.findDomain(domain);

      if (config == null) {
        result = new HashSet<String>(m_bugConfig.getExceptions());
      } else {
        if (config.getAdditivity() == true) {
          result.addAll(m_bugConfig.getExceptions());
          result.addAll(config.getExceptions());
        } else {
          result = new HashSet<String>(config.getExceptions());
        }
      }
      m_configs.put(domain, result);
    }
    return result;
View Full Code Here

TOP

Related Classes of com.dianping.cat.home.bug.config.entity.Domain

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.