aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-16 10:58:20 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-16 10:58:20 +0700
commite8d3944d8c15d69175822e75f73873d3d7d5ee6e (patch)
tree2b238652a252019386ef9a287c9c512df3e3f1b6 /build
parent743c3bf2914640de6aa24f421124bb51a14453e2 (diff)
downloadaspectj-e8d3944d8c15d69175822e75f73873d3d7d5ee6e.tar.gz
aspectj-e8d3944d8c15d69175822e75f73873d3d7d5ee6e.zip
Add decade 2020-2029 to copyright years in Checklics
FWIW, I just wanted to know if the tests in module 'build' would still pass. They did not find copyrights for more recent years, so I added them here. But I am still unsure, if we need these tests at all. Obviously, they were not running during CI builds, i.e. they seem to be non-essential. But chances are, they were forgotten to be added to the suite. BTW, running the tests in module 'build' with '-Drun.build.tests=true' is failing, too, because some old JDK classes looked up there no longer exist in more recent JDKs. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'build')
-rw-r--r--build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/Checklics.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/Checklics.java b/build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/Checklics.java
index 685189860..0988a28c9 100644
--- a/build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/Checklics.java
+++ b/build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/Checklics.java
@@ -332,10 +332,12 @@ public class Checklics extends MatchingTask {
public static class License {
/** acceptable years for copyright prefix to company - append " " */
static final String[] YEARS = // remove older after license xfer?
- new String[] {
- "2002 ", "2003 ", "2004 ", "2005", "2006", "2007", "2008", "2009", "2010", "2011",
- "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021",
- "2001 ", "2000 ", "1999 " };
+ new String[] {
+ "1999",
+ "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009",
+ "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019",
+ "2020", "2021", "2022", "2023", "2024", "2025", "2026", "2027", "2028", "2029"
+ };
public final String tag;
public final String license;
private final String[] copyright;