@Override
    public boolean equals(Object obj) {
      if (this == obj) {
        return true;
      }
      if (obj == null) {
        return false;
      }
      if (getClass() != obj.getClass()) {
        return false;
      }
      RangerPolicyResource other = (RangerPolicyResource) obj;
      if (isExcludes == null) {
        if (other.isExcludes != null) {
          return false;
        }
      } else if (!isExcludes.equals(other.isExcludes)) {
        return false;
      }
      if (isRecursive == null) {
        if (other.isRecursive != null) {
          return false;
        }
      } else if (!isRecursive.equals(other.isRecursive)) {
        return false;
      }
      if (values == null) {
        if (other.values != null) {
          return false;
        }
      } else if (!values.equals(other.values)) {
        return false;
      }
      return true;
    }
@param isRecursive the isRecursive to set
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ranger/RangerPolicy.java