gnodet-bot commented on code in PR #26621:
URL: https://github.com/apache/camel/pull/26621#discussion_r4056568508
##########
components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/easypredicate/EasyPredicateOperators.java:
##########
@@ -44,7 +44,13 @@ private EasyPredicateOperators() {
/**
* Does the expression have any operator (with single space around)?
*/
- static boolean hasOperator(String exp) {
+ /**
+ * Does the expression have any operator (with a single space around it on
each side)?
+ *
+ * @param exp the expression to inspect
+ * @return true if the expression contains a recognised operator
surrounded by spaces
+ */
Review Comment:
📝 **Duplicate Javadoc block** — the old one-liner stub `/** Does the
expression have any operator (with single space around)? */` (lines 44–46) was
kept and the new fuller block was inserted immediately after. Only the last
`/** */` block before a member applies; the first one is dead and misleading.
Remove it:
```suggestion
/**
* Does the expression have any operator (with a single space around it
on each side)?
*
* @param exp the expression to inspect
* @return true if the expression contains a recognised operator
surrounded by spaces
*/
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]