Skip to content

Commit be24b8c

Browse files
committed
Copyright and checkstyle
1 parent 199d700 commit be24b8c

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Copyright 2016-2019 the original author or authors.
3+
Copyright 2016-2020 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.

src/main/java/org/mybatis/dynamic/sql/insert/render/FieldAndValueAndParametersCollector.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016-2019 the original author or authors.
2+
* Copyright 2016-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.
@@ -57,7 +57,8 @@ public Map<String, Object> parameters() {
5757
.collect(HashMap::new, HashMap::putAll, HashMap::putAll);
5858
}
5959

60-
public static Collector<FieldAndValueAndParameters, FieldAndValueAndParametersCollector, FieldAndValueAndParametersCollector> collect() {
60+
public static Collector<FieldAndValueAndParameters, FieldAndValueAndParametersCollector,
61+
FieldAndValueAndParametersCollector> collect() {
6162
return Collector.of(FieldAndValueAndParametersCollector::new,
6263
FieldAndValueAndParametersCollector::add,
6364
FieldAndValueAndParametersCollector::merge);

src/main/java/org/mybatis/dynamic/sql/insert/render/GeneralInsertRenderer.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016-2019 the original author or authors.
2+
* Copyright 2016-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.
@@ -51,11 +51,13 @@ private String calculateInsertStatement(FieldAndValueAndParametersCollector coll
5151
+ spaceBefore(collector.valuesPhrase());
5252
}
5353

54-
private Function<AbstractColumnMapping, FieldAndValueAndParameters> toFieldAndValue(GeneralInsertValuePhraseVisitor visitor) {
54+
private Function<AbstractColumnMapping, FieldAndValueAndParameters> toFieldAndValue(
55+
GeneralInsertValuePhraseVisitor visitor) {
5556
return insertMapping -> toFieldAndValue(visitor, insertMapping);
5657
}
5758

58-
private FieldAndValueAndParameters toFieldAndValue(GeneralInsertValuePhraseVisitor visitor, AbstractColumnMapping insertMapping) {
59+
private FieldAndValueAndParameters toFieldAndValue(GeneralInsertValuePhraseVisitor visitor,
60+
AbstractColumnMapping insertMapping) {
5961
return insertMapping.accept(visitor);
6062
}
6163

src/main/java/org/mybatis/dynamic/sql/update/render/SetPhraseVisitor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016-2019 the original author or authors.
2+
* Copyright 2016-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.
@@ -24,8 +24,8 @@
2424
import org.mybatis.dynamic.sql.render.TableAliasCalculator;
2525
import org.mybatis.dynamic.sql.select.render.SelectRenderer;
2626
import org.mybatis.dynamic.sql.select.render.SelectStatementProvider;
27-
import org.mybatis.dynamic.sql.util.ColumnToColumnMapping;
2827
import org.mybatis.dynamic.sql.util.ColumnMappingVisitor;
28+
import org.mybatis.dynamic.sql.util.ColumnToColumnMapping;
2929
import org.mybatis.dynamic.sql.util.ConstantMapping;
3030
import org.mybatis.dynamic.sql.util.FragmentAndParameters;
3131
import org.mybatis.dynamic.sql.util.NullMapping;

src/main/java/org/mybatis/dynamic/sql/update/render/UpdateRenderer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016-2019 the original author or authors.
2+
* Copyright 2016-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.
@@ -102,7 +102,8 @@ private Function<AbstractColumnMapping, FragmentAndParameters> toFragmentAndPara
102102
return updateMapping -> toFragmentAndParameters(visitor, updateMapping);
103103
}
104104

105-
private FragmentAndParameters toFragmentAndParameters(SetPhraseVisitor visitor, AbstractColumnMapping updateMapping) {
105+
private FragmentAndParameters toFragmentAndParameters(SetPhraseVisitor visitor,
106+
AbstractColumnMapping updateMapping) {
106107
return updateMapping.accept(visitor);
107108
}
108109

src/test/java/examples/animal/data/AnimalDataTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016-2019 the original author or authors.
2+
* Copyright 2016-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.

0 commit comments

Comments
 (0)