Skip to content

Commit 005bd51

Browse files
committed
fix: replace " with \"
Signed-off-by: DevDengChao <[email protected]>
1 parent b8dd2ee commit 005bd51

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* &#064;Select({"&lt;script>",
4545
* "select * from users",
4646
* "where name = #{name}",
47-
* "&lt;if test="age != null"> age = #{age} &lt;/if>",
47+
* "&lt;if test=\"age != null\"> age = #{age} &lt;/if>",
4848
* "&lt;/script>"})
4949
* User select(@NotNull String name, @Nullable Intger age);
5050
* }
@@ -69,7 +69,6 @@
6969

7070
/**
7171
* @return A database id that correspond this statement
72-
*
7372
* @since 3.5.5
7473
*/
7574
String databaseId() default "";
@@ -79,7 +78,6 @@
7978
* e.g. RETURNING of PostgreSQL or OUTPUT of MS SQL Server.
8079
*
8180
* @return {@code true} if this select affects DB data; {@code false} if otherwise
82-
*
8381
* @since 3.5.12
8482
*/
8583
boolean affectData() default false;
@@ -88,7 +86,6 @@
8886
* The container annotation for {@link Select}.
8987
*
9088
* @author Kazuki Shimizu
91-
*
9289
* @since 3.5.5
9390
*/
9491
@Documented

0 commit comments

Comments
 (0)