From 47991f7772f3e353162be01169d40098993d260a Mon Sep 17 00:00:00 2001 From: Miguel Reboiro-Jato Date: Fri, 18 Sep 2026 22:27:25 +0200 Subject: [PATCH] Updates Java to 21 and license headers --- pom.xml | 4 ++-- .../uvigo/esei/dai/sockets/example1/HelloWorldClient.java | 6 +++--- .../uvigo/esei/dai/sockets/example1/HelloWorldServer.java | 6 +++--- .../uvigo/esei/dai/sockets/example2/HelloWorldReceiver.java | 6 +++--- .../uvigo/esei/dai/sockets/example2/HelloWorldSender.java | 6 +++--- .../java/es/uvigo/esei/dai/sockets/example3/EchoClient.java | 6 +++--- .../es/uvigo/esei/dai/sockets/example3/EchoReceiver.java | 6 +++--- .../java/es/uvigo/esei/dai/sockets/example3/EchoSender.java | 6 +++--- .../java/es/uvigo/esei/dai/sockets/example3/EchoServer.java | 6 +++--- .../java/es/uvigo/esei/dai/sockets/example4/Message.java | 6 +++--- .../es/uvigo/esei/dai/sockets/example4/MessageReceiver.java | 6 +++--- .../es/uvigo/esei/dai/sockets/example4/MessageSender.java | 6 +++--- .../uvigo/esei/dai/sockets/example5/ESEIHomeDownload.java | 6 +++--- 13 files changed, 38 insertions(+), 38 deletions(-) diff --git a/pom.xml b/pom.xml index dfbfda9..ef9c613 100644 --- a/pom.xml +++ b/pom.xml @@ -32,8 +32,8 @@ - 11 - 11 + 21 + 21 UTF-8 UTF-8 diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example1/HelloWorldClient.java b/src/main/java/es/uvigo/esei/dai/sockets/example1/HelloWorldClient.java index 7434b21..de2ea36 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example1/HelloWorldClient.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example1/HelloWorldClient.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example1/HelloWorldServer.java b/src/main/java/es/uvigo/esei/dai/sockets/example1/HelloWorldServer.java index 1fe9843..7de6701 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example1/HelloWorldServer.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example1/HelloWorldServer.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example2/HelloWorldReceiver.java b/src/main/java/es/uvigo/esei/dai/sockets/example2/HelloWorldReceiver.java index cf93822..ae900bf 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example2/HelloWorldReceiver.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example2/HelloWorldReceiver.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example2/HelloWorldSender.java b/src/main/java/es/uvigo/esei/dai/sockets/example2/HelloWorldSender.java index 4816f97..b3d84ed 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example2/HelloWorldSender.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example2/HelloWorldSender.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoClient.java b/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoClient.java index 51838e8..bb85b18 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoClient.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoClient.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoReceiver.java b/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoReceiver.java index ec0cfdd..ecca4a6 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoReceiver.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoReceiver.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoSender.java b/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoSender.java index f7bb508..6f86600 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoSender.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoSender.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoServer.java b/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoServer.java index b5a675d..b421381 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoServer.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example3/EchoServer.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example4/Message.java b/src/main/java/es/uvigo/esei/dai/sockets/example4/Message.java index 80d79fc..b17dc66 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example4/Message.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example4/Message.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example4/MessageReceiver.java b/src/main/java/es/uvigo/esei/dai/sockets/example4/MessageReceiver.java index 64d10c4..e606a02 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example4/MessageReceiver.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example4/MessageReceiver.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example4/MessageSender.java b/src/main/java/es/uvigo/esei/dai/sockets/example4/MessageSender.java index d805746..528d4f3 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example4/MessageSender.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example4/MessageSender.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . diff --git a/src/main/java/es/uvigo/esei/dai/sockets/example5/ESEIHomeDownload.java b/src/main/java/es/uvigo/esei/dai/sockets/example5/ESEIHomeDownload.java index 2ee4d5b..49b6bd4 100644 --- a/src/main/java/es/uvigo/esei/dai/sockets/example5/ESEIHomeDownload.java +++ b/src/main/java/es/uvigo/esei/dai/sockets/example5/ESEIHomeDownload.java @@ -2,18 +2,18 @@ * #%L * Ejemplos de DAI - Sockets * %% - * Copyright (C) 2014 - 2023 Miguel Reboiro Jato + * Copyright (C) 2014 - 2026 Miguel Reboiro Jato * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this program. If not, see * . -- 2.18.1