@Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    ConfigSource other = (ConfigSource) obj;

    return (type == other.type && description.equals(other.description));
  }
@return returns the type of this source
geode-core/src/main/java/org/apache/geode/internal/ConfigSource.java