Skip to content

Commit 004b0b2

Browse files
committed
GPLv2 license additions
1 parent 12ae4a1 commit 004b0b2

19 files changed

+398
-1
lines changed

pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@
311311
<execution>
312312
<id>first</id>
313313
<goals>
314-
<goal>check-file-header</goal>
314+
<goal>update-file-header</goal>
315315
</goals>
316316
<phase>process-sources</phase>
317317
<configuration>
@@ -320,6 +320,7 @@
320320
<root>src/main/java</root>
321321
<root>src/test/java</root>
322322
</roots>
323+
<verbose>false</verbose>
323324
</configuration>
324325
</execution>
325326
</executions>

src/main/java/org/adoptopenjdk/lambda/setupcheck/ConfigureYourLambdaBuildOfJdk.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.setupcheck;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
import java.util.List;
426
import static java.util.Arrays.asList;
527

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise1/Color.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise1;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
/**
426
* A nominal color.
527
*

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise1/Shape.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise1;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
/**
426
* A simple shape, whose only attribute is a Color, which can be changed.
527
*

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise1/Shapes.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise1;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
import java.util.List;
426

527
/**

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Ballot.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise2;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
/**
426
* Lambda Tutorial -- Adopt Open JDK
527
*

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/ElectoralDistrict.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise2;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
import java.util.Collection;
426
import java.util.Collections;
527
import java.util.Set;

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Party.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise2;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
/**
426
* Lambda Tutorial -- Adopt Open JDK
527
*

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Person.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise2;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
/**
426
* Basic class representing a human being
527
*/

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/RegisteredVoter.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise2;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
/**
426
* Lambda Tutorial -- Adopt Open JDK
527
*

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/VotingRules.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise2;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
import java.util.ArrayList;
426
import java.util.Collection;
527
import java.util.Collections;

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Author.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise3;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
/**
426
* Class representing an author
527
*/

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Book.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise3;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
/**
426
* Class representing a book
527
*/

src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Books.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package org.adoptopenjdk.lambda.tutorial.exercise3;
22

3+
/*
4+
* #%L
5+
* lambda-tutorial
6+
* %%
7+
* Copyright (C) 2013 Adopt OpenJDK
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 2 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-2.0.html>.
22+
* #L%
23+
*/
24+
325
import java.util.Collections;
426
import java.util.List;
527
import java.util.Set;

0 commit comments

Comments
 (0)