Skip to content

Commit 7a4bc14

Browse files
authored
Use Javadoc code instead of backticks
1 parent e91ea28 commit 7a4bc14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/github/treesitter/jtreesitter/QueryCursor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public QueryCursor setMaxStartDepth(@Unsigned int maxStartDepth) {
102102
* than the specified range, but part of that node intersects with the range,
103103
* the entire match will be returned.
104104
*
105-
* @throws IllegalArgumentException If `endByte > startByte`.
105+
* @throws IllegalArgumentException If {@code endByte > startByte}.
106106
*/
107107
public QueryCursor setByteRange(@Unsigned int startByte, @Unsigned int endByte) throws IllegalArgumentException {
108108
if (!ts_query_cursor_set_byte_range(self, startByte, endByte)) {
@@ -123,7 +123,7 @@ public QueryCursor setByteRange(@Unsigned int startByte, @Unsigned int endByte)
123123
* than the specified range, but part of that node intersects with the range,
124124
* the entire match will be returned.
125125
*
126-
* @throws IllegalArgumentException If `endPoint > startPoint`.
126+
* @throws IllegalArgumentException If {@code endPoint > startPoint}.
127127
*/
128128
public QueryCursor setPointRange(Point startPoint, Point endPoint) throws IllegalArgumentException {
129129
try (var alloc = Arena.ofConfined()) {

0 commit comments

Comments
 (0)