File tree 19 files changed +398
-1
lines changed
main/java/org/adoptopenjdk/lambda
test/java/org/adoptopenjdk/lambda/tutorial
19 files changed +398
-1
lines changed Original file line number Diff line number Diff line change 311
311
<execution >
312
312
<id >first</id >
313
313
<goals >
314
- <goal >check -file-header</goal >
314
+ <goal >update -file-header</goal >
315
315
</goals >
316
316
<phase >process-sources</phase >
317
317
<configuration >
320
320
<root >src/main/java</root >
321
321
<root >src/test/java</root >
322
322
</roots >
323
+ <verbose >false</verbose >
323
324
</configuration >
324
325
</execution >
325
326
</executions >
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .setupcheck ;
2
2
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
+
3
25
import java .util .List ;
4
26
import static java .util .Arrays .asList ;
5
27
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise1 ;
2
2
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
+
3
25
/**
4
26
* A nominal color.
5
27
*
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise1 ;
2
2
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
+
3
25
/**
4
26
* A simple shape, whose only attribute is a Color, which can be changed.
5
27
*
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise1 ;
2
2
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
+
3
25
import java .util .List ;
4
26
5
27
/**
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise2 ;
2
2
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
+
3
25
/**
4
26
* Lambda Tutorial -- Adopt Open JDK
5
27
*
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise2 ;
2
2
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
+
3
25
import java .util .Collection ;
4
26
import java .util .Collections ;
5
27
import java .util .Set ;
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise2 ;
2
2
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
+
3
25
/**
4
26
* Lambda Tutorial -- Adopt Open JDK
5
27
*
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise2 ;
2
2
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
+
3
25
/**
4
26
* Basic class representing a human being
5
27
*/
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise2 ;
2
2
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
+
3
25
/**
4
26
* Lambda Tutorial -- Adopt Open JDK
5
27
*
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise2 ;
2
2
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
+
3
25
import java .util .ArrayList ;
4
26
import java .util .Collection ;
5
27
import java .util .Collections ;
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise3 ;
2
2
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
+
3
25
/**
4
26
* Class representing an author
5
27
*/
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise3 ;
2
2
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
+
3
25
/**
4
26
* Class representing a book
5
27
*/
Original file line number Diff line number Diff line change 1
1
package org .adoptopenjdk .lambda .tutorial .exercise3 ;
2
2
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
+
3
25
import java .util .Collections ;
4
26
import java .util .List ;
5
27
import java .util .Set ;
You can’t perform that action at this time.
0 commit comments