Skip to content

Commit 4303e23

Browse files
committed
Apply formatter and update license year
1 parent 852050c commit 4303e23

File tree

12 files changed

+32
-24
lines changed

12 files changed

+32
-24
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2012-2019 the original author or authors.
4+
Copyright 2012-2020 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.

src/main/java/org/mybatis/scripting/velocity/ParameterMappingCollector.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-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.
@@ -18,6 +18,7 @@
1818
import java.util.ArrayList;
1919
import java.util.List;
2020
import java.util.Map;
21+
2122
import org.apache.ibatis.mapping.ParameterMapping;
2223
import org.apache.ibatis.session.Configuration;
2324

src/main/java/org/mybatis/scripting/velocity/RepeatDirective.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-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.
@@ -19,6 +19,7 @@
1919
import java.io.StringWriter;
2020
import java.io.Writer;
2121
import java.util.Iterator;
22+
2223
import org.apache.velocity.context.ChainedInternalContextAdapter;
2324
import org.apache.velocity.context.InternalContextAdapter;
2425
import org.apache.velocity.exception.TemplateInitException;

src/main/java/org/mybatis/scripting/velocity/SQLScriptSource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-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.
@@ -17,6 +17,7 @@
1717

1818
import java.util.HashMap;
1919
import java.util.Map;
20+
2021
import org.apache.ibatis.mapping.BoundSql;
2122
import org.apache.ibatis.mapping.ParameterMapping;
2223
import org.apache.ibatis.mapping.SqlSource;

src/main/java/org/mybatis/scripting/velocity/SetDirective.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-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.
@@ -17,6 +17,7 @@
1717

1818
import java.io.IOException;
1919
import java.io.StringWriter;
20+
2021
import org.apache.velocity.context.InternalContextAdapter;
2122
import org.apache.velocity.runtime.parser.node.ASTBlock;
2223
import org.apache.velocity.runtime.parser.node.Node;

src/main/java/org/mybatis/scripting/velocity/TrimDirective.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-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.
@@ -19,6 +19,7 @@
1919
import java.io.StringWriter;
2020
import java.io.Writer;
2121
import java.util.Locale;
22+
2223
import org.apache.velocity.context.InternalContextAdapter;
2324
import org.apache.velocity.runtime.directive.Directive;
2425
import org.apache.velocity.runtime.parser.node.ASTBlock;

src/main/java/org/mybatis/scripting/velocity/WhereDirective.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-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.
@@ -17,6 +17,7 @@
1717

1818
import java.io.IOException;
1919
import java.io.StringWriter;
20+
2021
import org.apache.velocity.context.InternalContextAdapter;
2122
import org.apache.velocity.runtime.parser.node.ASTBlock;
2223
import org.apache.velocity.runtime.parser.node.Node;

src/site/xdoc/index.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2012-2019 the original author or authors.
4+
Copyright 2012-2020 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -300,7 +300,7 @@ FROM City
300300
<subsection name="in">
301301
<h5>#in( collection var field ) body #end</h5>
302302
<p>
303-
Generates a SQL IN clause and breaks it into groups of 1000 items seperated by an OR clause to get around database limitations on the maximum number of items that can be handled.
303+
Generates a SQL IN clause and breaks it into groups of 1000 items seperated by an OR clause to get around database limitations on the maximum number of items that can be handled.
304304
It also supports iterative parameter bindings via @{...} syntax.
305305
</p>
306306
<table>

src/test/java/org/mybatis/scripting/velocity/TrimDirectiveTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-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.
@@ -15,12 +15,13 @@
1515
*/
1616
package org.mybatis.scripting.velocity;
1717

18+
import static org.junit.jupiter.api.Assertions.assertEquals;
19+
1820
import java.io.StringWriter;
1921
import java.util.Properties;
22+
2023
import org.apache.velocity.VelocityContext;
2124
import org.apache.velocity.app.VelocityEngine;
22-
import static org.junit.jupiter.api.Assertions.assertEquals;
23-
2425
import org.apache.velocity.runtime.RuntimeConstants;
2526
import org.junit.jupiter.api.BeforeAll;
2627
import org.junit.jupiter.api.Test;

src/test/java/org/mybatis/scripting/velocity/WhereDirectiveTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-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.
@@ -15,12 +15,13 @@
1515
*/
1616
package org.mybatis.scripting.velocity;
1717

18+
import static org.junit.jupiter.api.Assertions.assertEquals;
19+
1820
import java.io.StringWriter;
1921
import java.util.Properties;
22+
2023
import org.apache.velocity.VelocityContext;
2124
import org.apache.velocity.app.VelocityEngine;
22-
import static org.junit.jupiter.api.Assertions.assertEquals;
23-
2425
import org.apache.velocity.runtime.RuntimeConstants;
2526
import org.junit.jupiter.api.BeforeAll;
2627
import org.junit.jupiter.api.Test;

0 commit comments

Comments
 (0)