Skip to content

Commit

Permalink
Javadoc fix: remove wrong comments for the locate function (#1944)
Browse files Browse the repository at this point in the history
  • Loading branch information
waahhh authored Oct 5, 2023
1 parent 8d5a613 commit 9ee7a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
* integer. The first argument is the string to be located; the second argument is the string to be
* searched; the optional third argument is an integer that represents the string position at which
* the search is started (by default, the beginning of the string to be searched). The first
* position in a string is denoted by 1. If the string is not found, 0 is returned. The <b>LOCATE</b>
* function returns the length of the string in characters as an integer.
* position in a string is denoted by 1. If the string is not found, 0 is returned.
* <p>
* JPA 1.0, 2.0:
* <div><b>BNF:</b> <code>expression ::= LOCATE(string_primary, string_primary [, simple_arithmetic_expression])</code></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
* was found as an integer. The first argument is the string to be located; the second argument is
* the string to be searched; the optional third argument is an integer that represents the string
* position at which the search is started (by default, the beginning of the string to be searched).
* The first position in a string is denoted by 1. If the string is not found, 0 is returned. The
* <code><b>LENGTH</b></code> function returns the length of the string in characters as an integer.
* The first position in a string is denoted by 1. If the string is not found, 0 is returned.
*
* <div><b>BNF:</b> <code>expression ::= LOCATE(string_primary, string_primary [, simple_arithmetic_expression])</code><p></div>
*
Expand Down

0 comments on commit 9ee7a29

Please sign in to comment.