From bb0ef7631bf91480c530179e82fc19b2be1ba578 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Fri, 28 Jan 2022 00:31:59 +0100 Subject: [PATCH] Add copyright banner to all java sourcefiles For the purposes of transparency regarding the FOSS license (AGPLv3+) used by this project, all source files should contain the standard license header. --- .../java/de/jotoho/waituntil/GlobalConf.java | 18 ++++++++++++++++++ src/main/java/de/jotoho/waituntil/Main.java | 18 ++++++++++++++++++ src/main/java/de/jotoho/waituntil/Sleep.java | 18 ++++++++++++++++++ .../de/jotoho/waituntil/TimeCalculator.java | 18 ++++++++++++++++++ 4 files changed, 72 insertions(+) diff --git a/src/main/java/de/jotoho/waituntil/GlobalConf.java b/src/main/java/de/jotoho/waituntil/GlobalConf.java index bb90dc0..08e8f7a 100644 --- a/src/main/java/de/jotoho/waituntil/GlobalConf.java +++ b/src/main/java/de/jotoho/waituntil/GlobalConf.java @@ -1,5 +1,23 @@ package de.jotoho.waituntil; +/* + waituntil - a tool for delaying command execution until the specified time + Copyright (C) 2022 Jonas Tobias Hopusch + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +*/ + import java.util.Locale; public record GlobalConf() { diff --git a/src/main/java/de/jotoho/waituntil/Main.java b/src/main/java/de/jotoho/waituntil/Main.java index 9179c3f..c160fdc 100644 --- a/src/main/java/de/jotoho/waituntil/Main.java +++ b/src/main/java/de/jotoho/waituntil/Main.java @@ -1,5 +1,23 @@ package de.jotoho.waituntil; +/* + waituntil - a tool for delaying command execution until the specified time + Copyright (C) 2022 Jonas Tobias Hopusch + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +*/ + import java.util.HashSet; import java.util.Map; diff --git a/src/main/java/de/jotoho/waituntil/Sleep.java b/src/main/java/de/jotoho/waituntil/Sleep.java index 5dde075..9de0947 100644 --- a/src/main/java/de/jotoho/waituntil/Sleep.java +++ b/src/main/java/de/jotoho/waituntil/Sleep.java @@ -1,5 +1,23 @@ package de.jotoho.waituntil; +/* + waituntil - a tool for delaying command execution until the specified time + Copyright (C) 2022 Jonas Tobias Hopusch + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +*/ + import java.time.Instant; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; diff --git a/src/main/java/de/jotoho/waituntil/TimeCalculator.java b/src/main/java/de/jotoho/waituntil/TimeCalculator.java index 34ec750..5da115f 100644 --- a/src/main/java/de/jotoho/waituntil/TimeCalculator.java +++ b/src/main/java/de/jotoho/waituntil/TimeCalculator.java @@ -1,5 +1,23 @@ package de.jotoho.waituntil; +/* + waituntil - a tool for delaying command execution until the specified time + Copyright (C) 2022 Jonas Tobias Hopusch + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +*/ + import java.time.Instant; import java.time.LocalDate; import java.time.LocalTime;