metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From merrimanr <...@git.apache.org>
Subject [GitHub] metron pull request #694: METRON-1085: Add REST endpoint to save a user prof...
Date Thu, 24 Aug 2017 17:50:10 GMT
Github user merrimanr commented on a diff in the pull request:

    https://github.com/apache/metron/pull/694#discussion_r135084490
  
    --- Diff: metron-platform/metron-indexing/src/main/java/org/apache/metron/indexing/dao/search/SearchRequest.java
---
    @@ -106,4 +107,33 @@ public void setSort(List<SortField> sort) {
       public void setFacetFields(List<String> facetFields) {
         this.facetFields = facetFields;
       }
    +
    +  @Override
    +  public boolean equals(Object o) {
    +    if (this == o) {
    +      return true;
    +    }
    +    if (o == null || getClass() != o.getClass()) {
    +      return false;
    +    }
    +
    +    SearchRequest that = (SearchRequest) o;
    +
    +    return indices != null ? indices.equals(that.indices) : that.indices == null
    --- End diff --
    
    Attempting to adhere to style guidelines.  Will revert to a more readable format.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message