Skip to content

Commit

Permalink
More javadoc corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Dec 31, 2024
1 parent ccd5c5a commit 0a2f5c7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 59 deletions.
23 changes: 8 additions & 15 deletions src/main/java/org/apache/ibatis/annotations/DeleteProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,14 @@
* Since 3.5.1, this attribute can omit.
* <p>
* If this attribute omit, the MyBatis will call a method that decide by following rules.
*
* <pre>
* <ul>
* <li>
* If class that specified the {@link #type()} attribute implements the
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver},
* the MyBatis use a method that returned by it
* </li>
* <li>
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
* (= not implement it or it was returned <code>null</code>), the MyBatis will search
* and use a fallback method that named <code>provideSql</code> from specified type
* </li>
* </ul>
* </pre>
* <ul>
* <li>If class that specified the {@link #type()} attribute implements the
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}, the MyBatis use a method that returned by it
* </li>
* <li>If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver} (= not
* implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method that named
* <code>provideSql</code> from specified type</li>
* </ul>
*
* @return a method name of method for providing an SQL
*/
Expand Down
23 changes: 8 additions & 15 deletions src/main/java/org/apache/ibatis/annotations/InsertProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,14 @@
* Since 3.5.1, this attribute can omit.
* <p>
* If this attribute omit, the MyBatis will call a method that decide by following rules.
*
* <pre>
* <ul>
* <li>
* If class that specified the {@link #type()} attribute implements the
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver},
* the MyBatis use a method that returned by it
* </li>
* <li>
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
* (= not implement it or it was returned <code>null</code>), the MyBatis will search
* and use a fallback method that named <code>provideSql</code> from specified type
* </li>
* </ul>
* </pre>
* <ul>
* <li>If class that specified the {@link #type()} attribute implements the
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}, the MyBatis use a method that returned by it
* </li>
* <li>If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver} (= not
* implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method that named
* <code>provideSql</code> from specified type</li>
* </ul>
*
* @return a method name of method for providing an SQL
*/
Expand Down
23 changes: 8 additions & 15 deletions src/main/java/org/apache/ibatis/annotations/SelectProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,14 @@
* Since 3.5.1, this attribute can omit.
* <p>
* If this attribute omit, the MyBatis will call a method that decide by following rules.
*
* <pre>
* <ul>
* <li>
* If class that specified the {@link #type()} attribute implements the
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver},
* the MyBatis use a method that returned by it.
* </li>
* <li>
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
* (= not implement it or it was returned <code>null</code>), the MyBatis will search
* and use a fallback method that named <code>provideSql</code> from specified type.
* </li>
* </ul>
* </pre>
* <ul>
* <li>If class that specified the {@link #type()} attribute implements the
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}, the MyBatis use a method that returned by it.
* </li>
* <li>If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver} (= not
* implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method that named
* <code>provideSql</code> from specified type.</li>
* </ul>
*
* @return a method name of method for providing an SQL
*/
Expand Down
22 changes: 8 additions & 14 deletions src/main/java/org/apache/ibatis/annotations/UpdateProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,14 @@
* <p>
* Since 3.5.1, this attribute can omit. If this attribute omit, the MyBatis will call a method that decide by
* following rules.
*
* <pre>
* <ul>
* <li>
* If class that specified the {@link #type()} attribute implements the
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver},
* the MyBatis use a method that returned by it
* </li>
* <li>
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
* (= not implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method
* that named <code>provideSql</code> from specified type</li>
* </ul>
* </pre>
* <ul>
* <li>If class that specified the {@link #type()} attribute implements the
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}, the MyBatis use a method that returned by it
* </li>
* <li>If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver} (= not
* implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method that named
* <code>provideSql</code> from specified type</li>
* </ul>
*
* @return a method name of method for providing an SQL
*/
Expand Down

0 comments on commit 0a2f5c7

Please sign in to comment.