@Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    } else if (obj instanceof Configurations) {
      Map<String, Object> otherConf = ((Configurations) obj).confData;

      for (Map.Entry<String, Object> e : this.confData.entrySet()) {
        Object thisVal = e.getValue();
        Object otherVal = otherConf.get(e.getKey());

        if (!thisVal.getClass().equals(byte[].class)) {
          if (!thisVal.equals(otherVal)) {
            return false;
          }
        } else if (otherVal.getClass().equals(byte[].class)) {
          if (!Arrays.equals((byte[]) thisVal, (byte[]) otherVal)) {
            return false;
          }
        } else {
          return false;
        }
      }

      return true;
    } else {
      return false;
    }
  }
Removes given config option from the configuration.

@param configOption config option to remove
@param <T> Type of the config option
@return true is config has been removed, false otherwise
amoro-common/src/main/java/org/apache/amoro/config/Configurations.java