Skip to content

Commit edc7be7

Browse files
authored
Merge pull request #1868 from hazendaz/copyright
[ci] Formatting
2 parents 690770d + 2a8e829 commit edc7be7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+197
-111
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
*
2727
* <p><br>
2828
* <b>How to use:</b>
29+
*
2930
* <pre>
3031
* public class User {
3132
*
@@ -44,6 +45,7 @@
4445
* // ...
4546
* }
4647
* </pre>
48+
*
4749
* @author Tim Chen
4850
* @since 3.4.3
4951
*/

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2019 the original author or authors.
2+
* Copyright 2009-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,6 +30,7 @@
3030
*
3131
* <p><br>
3232
* <b>How to use:</b>
33+
*
3334
* <pre>
3435
* &#064;acheNamespace(implementation = CustomCache.class, properties = {
3536
* &#064;Property(name = "host", value = "${mybatis.cache.host}"),
@@ -40,6 +41,7 @@
4041
* // ...
4142
* }
4243
* </pre>
44+
*
4345
* @author Clinton Begin
4446
* @author Kazuki Shimizu
4547
*/

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2019 the original author or authors.
2+
* Copyright 2009-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,12 +28,14 @@
2828
*
2929
* <p><br>
3030
* <b>How to use:</b>
31+
*
3132
* <pre>
3233
* &#064;CacheNamespaceRef(UserMapper.class)
3334
* public interface AdminUserMapper {
3435
* // ...
3536
* }
3637
* </pre>
38+
*
3739
* @author Clinton Begin
3840
* @author Kazuki Shimizu
3941
*/

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2019 the original author or authors.
2+
* Copyright 2009-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@
2626
*
2727
* <p><br>
2828
* <b>How to use:</b>
29+
*
2930
* <pre>
3031
* public interface UserMapper {
3132
* &#064;ConstructorArgs({
@@ -37,6 +38,7 @@
3738
* User selectById(int id);
3839
* }
3940
* </pre>
41+
*
4042
* @author Clinton Begin
4143
*/
4244
@Documented

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2019 the original author or authors.
2+
* Copyright 2009-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,12 +26,14 @@
2626
*
2727
* <p><br>
2828
* <b>How to use:</b>
29+
*
2930
* <pre>
3031
* public interface UserMapper {
3132
* &#064;Delete("DELETE FROM users WHERE id = #{id}")
3233
* boolean deleteById(int id);
3334
* }
3435
* </pre>
36+
*
3537
* @author Clinton Begin
3638
*/
3739
@Documented

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
*
2727
* <p><br>
2828
* <b>How to use:</b>
29+
*
2930
* <pre>
3031
* public interface UserMapper {
3132
*
@@ -40,6 +41,7 @@
4041
*
4142
* }
4243
* </pre>
44+
*
4345
* @author Clinton Begin
4446
*/
4547
@Documented
@@ -61,6 +63,7 @@
6163
* <p>
6264
* This attribute is alias of {@link #value()}.
6365
* </p>
66+
*
6467
* @return a type that implements an SQL provider method
6568
* @see #value()
6669
*/

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2019 the original author or authors.
2+
* Copyright 2009-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,12 +26,14 @@
2626
*
2727
* <p><br>
2828
* <b>How to use:</b>
29+
*
2930
* <pre>
3031
* public interface UserMapper {
3132
* &#064;Flush
3233
* List&lt;BatchResult&gt; flush();
3334
* }
3435
* </pre>
36+
*
3537
* @since 3.3.0
3638
* @author Kazuki Shimizu
3739
*/

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2019 the original author or authors.
2+
* Copyright 2009-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,12 +26,14 @@
2626
*
2727
* <p><br>
2828
* <b>How to use:</b>
29+
*
2930
* <pre>
3031
* public interface UserMapper {
3132
* &#064;Insert("INSERT INTO users (id, name) VALUES(#{id}, #{name})")
3233
* void insert(User user);
3334
* }
3435
* </pre>
36+
*
3537
* @author Clinton Begin
3638
*/
3739
@Documented

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
*
2727
* <p><br>
2828
* <b>How to use:</b>
29+
*
2930
* <pre>
3031
* public interface UserMapper {
3132
*
@@ -40,6 +41,7 @@
4041
*
4142
* }
4243
* </pre>
44+
*
4345
* @author Clinton Begin
4446
*/
4547
@Documented

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2019 the original author or authors.
2+
* Copyright 2009-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,13 +28,15 @@
2828
*
2929
* <p><br>
3030
* <b>How to use:</b>
31+
*
3132
* <pre>
3233
* public interface UserMapper {
3334
* &#064;Lang(MyXMLLanguageDriver.class)
3435
* &#064;Select("SELECT id, name FROM users WHERE id = #{id}")
3536
* User selectById(int id);
3637
* }
3738
* </pre>
39+
*
3840
* @author Clinton Begin
3941
*/
4042
@Documented

0 commit comments

Comments
 (0)