Skip to content

Commit

Permalink
[Docs] Minor fix in has_child javadoc comment (#33674)
Browse files Browse the repository at this point in the history
The min and max constants are accidentaly the wrong way around.
  • Loading branch information
Christoph Büscher authored Sep 14, 2018
1 parent e982616 commit c913198
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ public ScoreMode scoreMode() {

/**
* Returns the minimum number of children that are required to match for the parent to be considered a match.
* The default is {@value #DEFAULT_MAX_CHILDREN}
* The default is {@value #DEFAULT_MIN_CHILDREN}
*/
public int minChildren() {
return minChildren;
}

/**
* Returns the maximum number of children that are required to match for the parent to be considered a match.
* The default is {@value #DEFAULT_MIN_CHILDREN}
* The default is {@value #DEFAULT_MAX_CHILDREN}
*/
public int maxChildren() { return maxChildren; }

Expand Down

0 comments on commit c913198

Please sign in to comment.