From: Alexander Kriegisch Date: Fri, 16 Feb 2024 03:58:20 +0000 (+0700) Subject: Add decade 2020-2029 to copyright years in Checklics X-Git-Tag: V1_9_21_2~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e8d3944d8c15d69175822e75f73873d3d7d5ee6e;p=aspectj.git 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 --- 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;