diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2022-03-18 10:24:52 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2022-03-18 10:24:52 +0100 |
commit | dda5975159f6ea99b1d79aba6b80fcd56271d82f (patch) | |
tree | 0cb8f220be99b49ce9ba8685dcc2ad10ced59504 /container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java | |
parent | 158e30a674159178c69c9ddfbba72386e97c29dc (diff) |
Fix typo
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java')
-rw-r--r-- | container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java b/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java index d3fbeb020f8..9ae1a03b38f 100644 --- a/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java +++ b/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java @@ -205,7 +205,7 @@ public abstract class CompositeItem extends Item { } /** Composite items should be parenthized when not on the top level */ - protected boolean shouldParenthize() { + protected boolean shouldParenthesize() { return getParent()!= null && ! (getParent() instanceof QueryTree); } |