Skip to content

Commit 8c27fd5

Browse files
committed
[secure] Use secure license site
1 parent 68e7466 commit 8c27fd5

File tree

116 files changed

+280
-231
lines changed

Some content is hidden

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

116 files changed

+280
-231
lines changed

.mvn/extensions.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
you may not use this file except in compliance with the License.
88
You may obtain a copy of the License at
99
10-
http://www.apache.org/licenses/LICENSE-2.0
10+
https://www.apache.org/licenses/LICENSE-2.0
1111
1212
Unless required by applicable law or agreed to in writing, software
1313
distributed under the License is distributed on an "AS IS" BASIS,

.mvn/settings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
you may not use this file except in compliance with the License.
88
You may obtain a copy of the License at
99
10-
http://www.apache.org/licenses/LICENSE-2.0
10+
https://www.apache.org/licenses/LICENSE-2.0
1111
1212
Unless required by applicable law or agreed to in writing, software
1313
distributed under the License is distributed on an "AS IS" BASIS,

LICENSE_HEADER

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at
66

7-
http://www.apache.org/licenses/LICENSE-2.0
7+
https://www.apache.org/licenses/LICENSE-2.0
88

99
Unless required by applicable law or agreed to in writing, software
1010
distributed under the License is distributed on an "AS IS" BASIS,

format.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2018-2019 the original author or authors.
4+
Copyright 2018-2022 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.
88
You may obtain a copy of the License at
99
10-
http://www.apache.org/licenses/LICENSE-2.0
10+
https://www.apache.org/licenses/LICENSE-2.0
1111
1212
Unless required by applicable law or agreed to in writing, software
1313
distributed under the License is distributed on an "AS IS" BASIS,

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
you may not use this file except in compliance with the License.
88
You may obtain a copy of the License at
99
10-
http://www.apache.org/licenses/LICENSE-2.0
10+
https://www.apache.org/licenses/LICENSE-2.0
1111
1212
Unless required by applicable law or agreed to in writing, software
1313
distributed under the License is distributed on an "AS IS" BASIS,

src/main/asciidoc/docinfos/docinfo-footer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!--
22
3-
Copyright 2018-2019 the original author or authors.
3+
Copyright 2018-2022 the original author or authors.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
77
You may obtain a copy of the License at
88
9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,

src/main/asciidoc/docinfos/docinfo.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!--
22
3-
Copyright 2018 the original author or authors.
3+
Copyright 2018-2022 the original author or authors.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
77
You may obtain a copy of the License at
88
9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,

src/main/asciidoc/user-guide.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// you may not use this file except in compliance with the License.
66
// You may obtain a copy of the License at
77
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
8+
// https://www.apache.org/licenses/LICENSE-2.0
99
//
1010
// Unless required by applicable law or agreed to in writing, software
1111
// distributed under the License is distributed on an "AS IS" BASIS,

src/main/java/org/mybatis/scripting/thymeleaf/MyBatisBindingContext.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018-2021 the original author or authors.
2+
* Copyright 2018-2022 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -27,6 +27,7 @@
2727
* The context object for integrating with MyBatis and Thymeleaf template engine.
2828
*
2929
* @author Kazuki Shimizu
30+
*
3031
* @version 1.0.0
3132
*/
3233
public class MyBatisBindingContext {
@@ -42,6 +43,7 @@ public class MyBatisBindingContext {
4243
*
4344
* @param context
4445
* a context of thymeleaf template processing
46+
*
4547
* @return instance of this class
4648
*/
4749
public static MyBatisBindingContext load(IContext context) {
@@ -84,6 +86,7 @@ public void setCustomBindVariable(String name, Object value) {
8486
*
8587
* @param name
8688
* variable name
89+
*
8790
* @return If specified variable exists, return {@code true}
8891
*/
8992
public boolean containsCustomBindVariable(String name) {
@@ -98,6 +101,7 @@ public boolean containsCustomBindVariable(String name) {
98101
* base object name
99102
* @param status
100103
* iteration status object
104+
*
101105
* @return an unique variable name per iteration object
102106
*/
103107
public String generateUniqueName(String objectName, IterationStatusVar status) {

src/main/java/org/mybatis/scripting/thymeleaf/MyBatisDialect.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018-2021 the original author or authors.
2+
* Copyright 2018-2022 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -36,14 +36,14 @@
3636
/**
3737
* The Dialect for integrating with MyBatis. <br>
3838
* This dialect provides following features. This dialect prefix is {@code "mb"} by default.
39-
*
4039
* <ul>
4140
* <li>{@code #likes} expression : {@link Likes}</li>
4241
* <li>{@code mb:p} attribute tag: {@link MyBatisParamTagProcessor}</li>
4342
* <li>{@code mb:bind} attribute tag : {@link MyBatisBindTagProcessor}</li>
4443
* </ul>
4544
*
4645
* @author Kazuki Shimizu
46+
*
4747
* @version 1.0.0
4848
*/
4949
public class MyBatisDialect extends AbstractProcessorDialect implements IExpressionObjectDialect {
@@ -86,6 +86,7 @@ public void setLikes(Likes likes) {
8686
*
8787
* @param bindVariableRender
8888
* a bind variable render
89+
*
8990
* @since 1.0.2
9091
*/
9192
public void setBindVariableRender(BindVariableRender bindVariableRender) {

src/main/java/org/mybatis/scripting/thymeleaf/MyBatisIntegratingEngineContextFactory.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018-2021 the original author or authors.
2+
* Copyright 2018-2022 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -28,6 +28,7 @@
2828
* The implementation of {@link IEngineContextFactory} for integrating with MyBatis.
2929
*
3030
* @author Kazuki Shimizu
31+
*
3132
* @version 1.0.0
3233
*/
3334
public class MyBatisIntegratingEngineContextFactory implements IEngineContextFactory {

src/main/java/org/mybatis/scripting/thymeleaf/PropertyAccessor.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018-2021 the original author or authors.
2+
* Copyright 2018-2022 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -33,6 +33,7 @@
3333
* specify to a {@link SqlGenerator}. <br>
3434
*
3535
* @author Kazuki Shimizu
36+
*
3637
* @version 1.0.2
3738
*/
3839
public interface PropertyAccessor {
@@ -42,6 +43,7 @@ public interface PropertyAccessor {
4243
*
4344
* @param type
4445
* a target type
46+
*
4547
* @return property names
4648
*/
4749
Set<String> getPropertyNames(Class<?> type);
@@ -53,6 +55,7 @@ public interface PropertyAccessor {
5355
* a target type
5456
* @param name
5557
* a property name
58+
*
5659
* @return a property type
5760
*/
5861
Class<?> getPropertyType(Class<?> type, String name);
@@ -64,6 +67,7 @@ public interface PropertyAccessor {
6467
* a target object
6568
* @param name
6669
* a property name
70+
*
6771
* @return a property value
6872
*/
6973
Object getPropertyValue(Object target, String name);

src/main/java/org/mybatis/scripting/thymeleaf/SqlGenerator.java

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018-2021 the original author or authors.
2+
* Copyright 2018-2022 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -39,6 +39,7 @@
3939
* The sql template engine for integrating with Thymeleaf.
4040
*
4141
* @author Kazuki Shimizu
42+
*
4243
* @version 1.0.2
4344
*/
4445
public class SqlGenerator {
@@ -170,6 +171,7 @@ private ITemplateEngine createDefaultTemplateEngine(SqlGeneratorConfig config) {
170171
* a template SQL
171172
* @param parameter
172173
* a parameter object
174+
*
173175
* @return a processed SQL by template engine
174176
*/
175177
public String generate(CharSequence sqlTemplate, Object parameter) {
@@ -185,6 +187,7 @@ public String generate(CharSequence sqlTemplate, Object parameter) {
185187
* a parameter object
186188
* @param customBindVariableBinder
187189
* a binder for a custom bind variable that generated with {@code mb:bind} or {@code mb:param}
190+
*
188191
* @return a processed SQL by template engine
189192
*/
190193
public String generate(CharSequence sqlTemplate, Object parameter,
@@ -201,6 +204,7 @@ public String generate(CharSequence sqlTemplate, Object parameter,
201204
* a parameter object
202205
* @param customVariables
203206
* a custom variables for passing to template engine
207+
*
204208
* @return a processed SQL by template engine
205209
*/
206210
public String generate(CharSequence sqlTemplate, Object parameter, Map<String, Object> customVariables) {
@@ -218,6 +222,7 @@ public String generate(CharSequence sqlTemplate, Object parameter, Map<String, O
218222
* a binder for a custom bind variable that generated with {@code mb:bind} or {@code mb:param}
219223
* @param customVariables
220224
* a custom variables for passing to template engine
225+
*
221226
* @return a processed SQL by template engine
222227
*/
223228
public String generate(CharSequence sqlTemplate, Object parameter,

src/main/java/org/mybatis/scripting/thymeleaf/SqlGeneratorConfig.java

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018-2021 the original author or authors.
2+
* Copyright 2018-2022 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -40,6 +40,7 @@
4040
* Configuration class for {@link SqlGenerator}.
4141
*
4242
* @author Kazuki Shimizu
43+
*
4344
* @since 1.0.2
4445
*/
4546
public class SqlGeneratorConfig {
@@ -530,7 +531,9 @@ public static SqlGeneratorConfig newInstance() {
530531
*
531532
* @param resourcePath
532533
* A property file resource path
534+
*
533535
* @return a configuration instance
536+
*
534537
* @see #newInstance()
535538
*/
536539
public static SqlGeneratorConfig newInstanceWithResourcePath(String resourcePath) {
@@ -544,7 +547,9 @@ public static SqlGeneratorConfig newInstanceWithResourcePath(String resourcePath
544547
*
545548
* @param customProperties
546549
* custom configuration properties
550+
*
547551
* @return a configuration instance
552+
*
548553
* @see #newInstance()
549554
*/
550555
public static SqlGeneratorConfig newInstanceWithProperties(Properties customProperties) {
@@ -558,7 +563,9 @@ public static SqlGeneratorConfig newInstanceWithProperties(Properties customProp
558563
*
559564
* @param customizer
560565
* baseline customizer
566+
*
561567
* @return a configuration instance
568+
*
562569
* @see #newInstance()
563570
*/
564571
public static SqlGeneratorConfig newInstanceWithCustomizer(Consumer<SqlGeneratorConfig> customizer) {
@@ -613,6 +620,7 @@ static <T extends SqlGeneratorConfig> void applyProperties(T config, Properties
613620
* a target type
614621
* @param <T>
615622
* a target type
623+
*
616624
* @return new instance of target type
617625
*/
618626
static <T> T newInstanceForType(Class<T> type) {

src/main/java/org/mybatis/scripting/thymeleaf/TemplateEngineCustomizer.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018-2021 the original author or authors.
2+
* Copyright 2018-2022 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -47,6 +47,7 @@
4747
* </pre>
4848
*
4949
* @author Kazuki Shimizu
50+
*
5051
* @version 1.0.0
5152
*/
5253
@FunctionalInterface
@@ -79,6 +80,7 @@ default void accept(TemplateEngine templateEngine) {
7980
* A target type for extracting instance
8081
* @param <T>
8182
* A type that implements the {@code ITemplateResolver}
83+
*
8284
* @return A {@code ITemplateResolver} instance that implements specified type
8385
*/
8486
static <T extends ITemplateResolver> Optional<T> extractTemplateResolver(TemplateEngine templateEngine,

0 commit comments

Comments
 (0)