Skip to content

Commit 3750a32

Browse files
MapStruct Teamfiliphr
MapStruct Team
authored andcommitted
Update copyright header on all files
Use shorter copyright without a year
1 parent 180b8f3 commit 3750a32

File tree

146 files changed

+429
-2324
lines changed

Some content is hidden

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

146 files changed

+429
-2324
lines changed

license.txt

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
2-
and/or other contributors as indicated by the @authors tag. See the
3-
copyright.txt file in the distribution for a full listing of all
4-
contributors.
1+
Copyright MapStruct Authors.
52

6-
The MapStruct Examples project is licensed under the Apache License,
7-
Version 2.0 (the "License"); you may not use this software except in
8-
compliance with the License. You may obtain a copy of the License at
9-
10-
http://www.apache.org/licenses/LICENSE-2.0
11-
12-
Unless required by applicable law or agreed to in writing, software
13-
distributed under the License is distributed on an "AS IS" BASIS,
14-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
See the License for the specific language governing permissions and
16-
limitations under the License.
3+
Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0

mapstruct-clone/pom.xml

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
5-
and/or other contributors as indicated by the @authors tag. See the
6-
copyright.txt file in the distribution for a full listing of all
7-
contributors.
4+
Copyright MapStruct Authors.
85
9-
Licensed under the Apache License, Version 2.0 (the "License");
10-
you may not use this file except in compliance with the License.
11-
You may obtain a copy of the License at
12-
13-
http://www.apache.org/licenses/LICENSE-2.0
14-
15-
Unless required by applicable law or agreed to in writing, software
16-
distributed under the License is distributed on an "AS IS" BASIS,
17-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18-
See the License for the specific language governing permissions and
19-
limitations under the License.
6+
Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
207
218
-->
229
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

mapstruct-clone/src/main/java/org/mapstruct/example/dto/CustomerDto.java

+4-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
* <p>
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
* <p>
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
* <p>
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
1+
/*
2+
* Copyright MapStruct Authors.
3+
*
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package org.mapstruct.example.dto;
207

mapstruct-clone/src/main/java/org/mapstruct/example/mapper/Cloner.java

+4-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
* <p>
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
* <p>
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
* <p>
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
1+
/*
2+
* Copyright MapStruct Authors.
3+
*
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package org.mapstruct.example.mapper;
207

mapstruct-clone/src/test/java/org/mapstruct/example/ClonerTest.java

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
1+
/*
2+
* Copyright MapStruct Authors.
123
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package org.mapstruct.example;
207

mapstruct-field-mapping/pom.xml

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
5-
and/or other contributors as indicated by the @authors tag. See the
6-
copyright.txt file in the distribution for a full listing of all
7-
contributors.
4+
Copyright MapStruct Authors.
85
9-
Licensed under the Apache License, Version 2.0 (the "License");
10-
you may not use this file except in compliance with the License.
11-
You may obtain a copy of the License at
12-
13-
http://www.apache.org/licenses/LICENSE-2.0
14-
15-
Unless required by applicable law or agreed to in writing, software
16-
distributed under the License is distributed on an "AS IS" BASIS,
17-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18-
See the License for the specific language governing permissions and
19-
limitations under the License.
6+
Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
207
218
-->
229
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

mapstruct-field-mapping/src/main/java/org/mapstruct/example/dto/Customer.java

+4-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
* <p>
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
* <p>
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
* <p>
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
1+
/*
2+
* Copyright MapStruct Authors.
3+
*
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package org.mapstruct.example.dto;
207

mapstruct-field-mapping/src/main/java/org/mapstruct/example/dto/CustomerDto.java

+4-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
* <p>
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
* <p>
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
* <p>
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
1+
/*
2+
* Copyright MapStruct Authors.
3+
*
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package org.mapstruct.example.dto;
207

mapstruct-field-mapping/src/main/java/org/mapstruct/example/mapper/CustomerMapper.java

+4-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
* <p>
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
* <p>
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
* <p>
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
1+
/*
2+
* Copyright MapStruct Authors.
3+
*
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package org.mapstruct.example.mapper;
207

mapstruct-field-mapping/src/main/java/org/mapstruct/example/mapper/OrderItemMapper.java

+4-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
* <p>
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
* <p>
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
* <p>
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
1+
/*
2+
* Copyright MapStruct Authors.
3+
*
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package org.mapstruct.example.mapper;
207

mapstruct-field-mapping/src/test/java/org/mapstruct/example/CustomerMapperTest.java

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
1+
/*
2+
* Copyright MapStruct Authors.
123
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package org.mapstruct.example;
207

mapstruct-iterable-to-non-iterable/pom.xml

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
5-
and/or other contributors as indicated by the @authors tag. See the
6-
copyright.txt file in the distribution for a full listing of all
7-
contributors.
4+
Copyright MapStruct Authors.
85
9-
Licensed under the Apache License, Version 2.0 (the "License");
10-
you may not use this file except in compliance with the License.
11-
You may obtain a copy of the License at
12-
13-
http://www.apache.org/licenses/LICENSE-2.0
14-
15-
Unless required by applicable law or agreed to in writing, software
16-
distributed under the License is distributed on an "AS IS" BASIS,
17-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18-
See the License for the specific language governing permissions and
19-
limitations under the License.
6+
Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
207
218
-->
229
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

mapstruct-iterable-to-non-iterable/src/main/java/com/mycompany/mapper/Main.java

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
1+
/*
2+
* Copyright MapStruct Authors.
63
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package com.mycompany.mapper;
207

mapstruct-iterable-to-non-iterable/src/main/java/com/mycompany/mapper/Source.java

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
1+
/*
2+
* Copyright MapStruct Authors.
123
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package com.mycompany.mapper;
207

mapstruct-iterable-to-non-iterable/src/main/java/com/mycompany/mapper/SourceTargetMapper.java

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
1+
/*
2+
* Copyright MapStruct Authors.
63
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package com.mycompany.mapper;
207

mapstruct-iterable-to-non-iterable/src/main/java/com/mycompany/mapper/Target.java

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
/**
2-
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
3-
* and/or other contributors as indicated by the @authors tag. See the
4-
* copyright.txt file in the distribution for a full listing of all
5-
* contributors.
6-
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
1+
/*
2+
* Copyright MapStruct Authors.
123
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
4+
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
185
*/
196
package com.mycompany.mapper;
207

0 commit comments

Comments
 (0)