Skip to content

Commit 0a2f5c7

Browse files
committed
More javadoc corrections
1 parent ccd5c5a commit 0a2f5c7

File tree

4 files changed

+32
-59
lines changed

4 files changed

+32
-59
lines changed

src/main/java/org/apache/ibatis/annotations/DeleteProvider.java

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,14 @@
7878
* Since 3.5.1, this attribute can omit.
7979
* <p>
8080
* If this attribute omit, the MyBatis will call a method that decide by following rules.
81-
*
82-
* <pre>
83-
* <ul>
84-
* <li>
85-
* If class that specified the {@link #type()} attribute implements the
86-
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver},
87-
* the MyBatis use a method that returned by it
88-
* </li>
89-
* <li>
90-
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
91-
* (= not implement it or it was returned <code>null</code>), the MyBatis will search
92-
* and use a fallback method that named <code>provideSql</code> from specified type
93-
* </li>
94-
* </ul>
95-
* </pre>
81+
* <ul>
82+
* <li>If class that specified the {@link #type()} attribute implements the
83+
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}, the MyBatis use a method that returned by it
84+
* </li>
85+
* <li>If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver} (= not
86+
* implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method that named
87+
* <code>provideSql</code> from specified type</li>
88+
* </ul>
9689
*
9790
* @return a method name of method for providing an SQL
9891
*/

src/main/java/org/apache/ibatis/annotations/InsertProvider.java

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,14 @@
7878
* Since 3.5.1, this attribute can omit.
7979
* <p>
8080
* If this attribute omit, the MyBatis will call a method that decide by following rules.
81-
*
82-
* <pre>
83-
* <ul>
84-
* <li>
85-
* If class that specified the {@link #type()} attribute implements the
86-
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver},
87-
* the MyBatis use a method that returned by it
88-
* </li>
89-
* <li>
90-
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
91-
* (= not implement it or it was returned <code>null</code>), the MyBatis will search
92-
* and use a fallback method that named <code>provideSql</code> from specified type
93-
* </li>
94-
* </ul>
95-
* </pre>
81+
* <ul>
82+
* <li>If class that specified the {@link #type()} attribute implements the
83+
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}, the MyBatis use a method that returned by it
84+
* </li>
85+
* <li>If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver} (= not
86+
* implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method that named
87+
* <code>provideSql</code> from specified type</li>
88+
* </ul>
9689
*
9790
* @return a method name of method for providing an SQL
9891
*/

src/main/java/org/apache/ibatis/annotations/SelectProvider.java

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,14 @@
7878
* Since 3.5.1, this attribute can omit.
7979
* <p>
8080
* If this attribute omit, the MyBatis will call a method that decide by following rules.
81-
*
82-
* <pre>
83-
* <ul>
84-
* <li>
85-
* If class that specified the {@link #type()} attribute implements the
86-
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver},
87-
* the MyBatis use a method that returned by it.
88-
* </li>
89-
* <li>
90-
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
91-
* (= not implement it or it was returned <code>null</code>), the MyBatis will search
92-
* and use a fallback method that named <code>provideSql</code> from specified type.
93-
* </li>
94-
* </ul>
95-
* </pre>
81+
* <ul>
82+
* <li>If class that specified the {@link #type()} attribute implements the
83+
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}, the MyBatis use a method that returned by it.
84+
* </li>
85+
* <li>If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver} (= not
86+
* implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method that named
87+
* <code>provideSql</code> from specified type.</li>
88+
* </ul>
9689
*
9790
* @return a method name of method for providing an SQL
9891
*/

src/main/java/org/apache/ibatis/annotations/UpdateProvider.java

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,14 @@
7777
* <p>
7878
* Since 3.5.1, this attribute can omit. If this attribute omit, the MyBatis will call a method that decide by
7979
* following rules.
80-
*
81-
* <pre>
82-
* <ul>
83-
* <li>
84-
* If class that specified the {@link #type()} attribute implements the
85-
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver},
86-
* the MyBatis use a method that returned by it
87-
* </li>
88-
* <li>
89-
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
90-
* (= not implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method
91-
* that named <code>provideSql</code> from specified type</li>
92-
* </ul>
93-
* </pre>
80+
* <ul>
81+
* <li>If class that specified the {@link #type()} attribute implements the
82+
* {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}, the MyBatis use a method that returned by it
83+
* </li>
84+
* <li>If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver} (= not
85+
* implement it or it was returned <code>null</code>), the MyBatis will search and use a fallback method that named
86+
* <code>provideSql</code> from specified type</li>
87+
* </ul>
9488
*
9589
* @return a method name of method for providing an SQL
9690
*/

0 commit comments

Comments
 (0)