gemini-code-assist[bot] commented on code in PR #38256:
URL: https://github.com/apache/beam/pull/38256#discussion_r3118206462


##########
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/ApproximateQuantiles.java:
##########
@@ -507,8 +507,8 @@ private long offset(long newWeight) {
 
     /**
      * Emulates taking the ordered union of all elements in buffers, repeated 
according to their
-     * weight, and picking out the (k * step + offset)-th elements of this 
list for {@code 0 <= k
-     * < count}.
+     * weight, and picking out the (k * step + offset)-th elements of this 
list for 0 <= k <
+     * count.

Review Comment:
   ![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)
   
   While removing `{@code}` resolves the `EscapedEntity` check, it's generally 
better to keep the code formatting for mathematical expressions in Javadoc. You 
can use the literal characters inside the `{@code}` block instead of HTML 
entities.
   
   ```suggestion
        * weight, and picking out the (k * step + offset)-th elements of this 
list for {@code 0 <= k <
        * count}.
   ```



-- 
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]

Reply via email to