From 7bcc17ee4cedfb7dac6821f55e85924295a76213 Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Fri, 24 Nov 2023 11:13:47 +0100 Subject: [PATCH] refactor: use year of creation in copyright (based on git log) --- examples/templates/exposed-thing/src/base.ts | 2 +- packages/binding-coap/src/coap-client-factory.ts | 2 +- packages/binding-coap/src/coap-client.ts | 2 +- packages/binding-coap/src/coap-server.ts | 2 +- packages/binding-coap/src/coap.ts | 2 +- packages/binding-coap/src/coaps-client-factory.ts | 2 +- packages/binding-coap/src/coaps-client.ts | 2 +- packages/binding-coap/test/coap-client-test.ts | 2 +- packages/binding-coap/test/coap-server-test.ts | 2 +- packages/binding-file/src/file-client-factory.ts | 2 +- packages/binding-file/src/file-client.ts | 2 +- packages/binding-file/src/file.ts | 2 +- packages/binding-http/src/codecs/tuya-codec.ts | 2 +- packages/binding-http/src/credential.ts | 2 +- packages/binding-http/src/http-browser.ts | 2 +- packages/binding-http/src/http-client-factory.ts | 2 +- packages/binding-http/src/http-client-impl.ts | 2 +- packages/binding-http/src/http-client.ts | 2 +- packages/binding-http/src/http-server.ts | 2 +- packages/binding-http/src/http.ts | 2 +- packages/binding-http/src/https-client-factory.ts | 2 +- packages/binding-http/src/oauth-manager.ts | 2 +- packages/binding-http/src/oauth-token-validation.ts | 2 +- packages/binding-http/src/subscription-protocols.ts | 2 +- packages/binding-http/test/credential-test.ts | 2 +- packages/binding-http/test/http-client-basic-test.ts | 2 +- packages/binding-http/test/http-client-oauth-tests.ts | 2 +- packages/binding-http/test/http-client-test.ts | 2 +- packages/binding-http/test/http-server-oauth-tests.ts | 2 +- packages/binding-http/test/http-server-test.ts | 2 +- packages/binding-http/test/memory-model.ts | 2 +- .../binding-http/test/oauth-token-validation-tests.ts | 2 +- packages/binding-mbus/src/mbus-client-factory.ts | 2 +- packages/binding-mbus/src/mbus-client.ts | 2 +- packages/binding-mbus/src/mbus-connection.ts | 2 +- packages/binding-mbus/test/mbus-client-test.ts | 2 +- packages/binding-mbus/test/test-servient.ts | 2 +- packages/binding-modbus/src/modbus-client-factory.ts | 2 +- packages/binding-modbus/src/modbus-client.ts | 2 +- packages/binding-modbus/src/modbus-connection.ts | 2 +- packages/binding-modbus/src/modbus.ts | 2 +- packages/binding-modbus/src/utils.ts | 2 +- packages/binding-modbus/test/modbus-client-test.ts | 2 +- .../binding-modbus/test/modbus-connection-test.ts | 2 +- packages/binding-modbus/test/test-modbus-server.ts | 2 +- packages/binding-modbus/test/test-servient.ts | 2 +- packages/binding-mqtt/src/mqtt-broker-server.ts | 2 +- packages/binding-mqtt/src/mqtt-client-factory.ts | 2 +- packages/binding-mqtt/src/mqtt-client.ts | 2 +- packages/binding-mqtt/src/mqtt.ts | 2 +- packages/binding-mqtt/src/mqtts-client-factory.ts | 2 +- .../test/mqtt-client-subscribe-test.integration.ts | 2 +- .../test/mqtt-client-subscribe-test.unit.ts | 2 +- packages/binding-netconf/src/async-node-netconf.ts | 2 +- packages/binding-netconf/src/codecs/netconf-codec.ts | 2 +- .../binding-netconf/src/netconf-client-factory.ts | 2 +- packages/binding-netconf/src/netconf-client.ts | 2 +- packages/binding-netconf/src/netconf.ts | 2 +- packages/binding-netconf/src/xpath2json.ts | 2 +- packages/binding-netconf/test/netconf-client-test.ts | 2 +- packages/binding-opcua/src/codec.ts | 2 +- packages/binding-opcua/src/opcua-protocol-client.ts | 2 +- packages/binding-opcua/test/client-test.ts | 2 +- .../binding-opcua/test/fixture/basic-opcua-server.ts | 2 +- packages/binding-opcua/test/full-opcua-thing-test.ts | 2 +- packages/binding-opcua/test/opcua-codec-test.ts | 2 +- packages/binding-opcua/test/schema-validation-test.ts | 2 +- packages/binding-websockets/src/ws-browser.ts | 2 +- packages/binding-websockets/src/ws-client-factory.ts | 2 +- packages/binding-websockets/src/ws-client.ts | 2 +- packages/binding-websockets/src/ws-server.ts | 2 +- packages/binding-websockets/src/ws.ts | 2 +- packages/binding-websockets/src/wss-client-factory.ts | 2 +- packages/binding-websockets/test/ws-tests.ts | 2 +- packages/cli/src/cli-default-servient.ts | 2 +- packages/cli/src/cli.ts | 2 +- packages/cli/test/RuntimeTest.ts | 2 +- packages/core/src/codecs/base64-codec.ts | 2 +- packages/core/src/codecs/json-codec.ts | 2 +- packages/core/src/codecs/netconf-codec.ts | 2 +- packages/core/src/codecs/octetstream-codec.ts | 2 +- packages/core/src/codecs/text-codec.ts | 2 +- packages/core/src/consumed-thing.ts | 2 +- packages/core/src/content-serdes.ts | 2 +- packages/core/src/core.ts | 2 +- packages/core/src/exposed-thing.ts | 2 +- packages/core/src/helpers.ts | 2 +- packages/core/src/interaction-output.ts | 2 +- packages/core/src/protocol-helpers.ts | 2 +- packages/core/src/protocol-interfaces.ts | 2 +- packages/core/src/protocol-listener-registry.ts | 2 +- packages/core/src/servient.ts | 2 +- packages/core/src/wot-impl.ts | 2 +- packages/core/test/ClientTest.ts | 2 +- packages/core/test/ContentSerdesTest.ts | 2 +- packages/core/test/HelpersTest.ts | 2 +- packages/core/test/InteractionOutputTest.ts | 2 +- packages/core/test/ProtocolHelpersStreamTest.ts | 2 +- packages/core/test/ProtocolHelpersTest.ts | 2 +- packages/core/test/ServerTest.ts | 2 +- packages/examples/src/scripts/countdown.ts | 2 +- packages/examples/src/scripts/counter-client.ts | 2 +- packages/examples/src/scripts/counter.ts | 2 +- .../src/scripts/smart-coffee-machine-client.ts | 2 +- packages/examples/src/scripts/smart-coffee-machine.ts | 2 +- packages/examples/src/testthing/testclient.ts | 2 +- packages/examples/src/testthing/testthing.ts | 2 +- packages/td-tools/src/td-helpers.ts | 2 +- packages/td-tools/src/td-parser.ts | 2 +- packages/td-tools/src/td-tools.ts | 2 +- packages/td-tools/src/thing-description.ts | 2 +- packages/td-tools/src/thing-model-helpers.ts | 2 +- .../td-tools/src/util/asset-interface-description.ts | 2 +- .../td-tools/test/AssetInterfaceDescriptionTest.ts | 2 +- packages/td-tools/test/TDParseTest.ts | 2 +- packages/td-tools/test/ThingModelHelperTest.ts | 2 +- utils/fix-copyright/CopyrightFix.java | 11 +++++++---- 117 files changed, 123 insertions(+), 120 deletions(-) diff --git a/examples/templates/exposed-thing/src/base.ts b/examples/templates/exposed-thing/src/base.ts index 7e6eb4f07..76656db17 100644 --- a/examples/templates/exposed-thing/src/base.ts +++ b/examples/templates/exposed-thing/src/base.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-coap/src/coap-client-factory.ts b/packages/binding-coap/src/coap-client-factory.ts index 0160c8541..ee1c36817 100644 --- a/packages/binding-coap/src/coap-client-factory.ts +++ b/packages/binding-coap/src/coap-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-coap/src/coap-client.ts b/packages/binding-coap/src/coap-client.ts index 4d0740ace..f27599259 100644 --- a/packages/binding-coap/src/coap-client.ts +++ b/packages/binding-coap/src/coap-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-coap/src/coap-server.ts b/packages/binding-coap/src/coap-server.ts index 52136d880..af9529edf 100644 --- a/packages/binding-coap/src/coap-server.ts +++ b/packages/binding-coap/src/coap-server.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-coap/src/coap.ts b/packages/binding-coap/src/coap.ts index a2423f0c7..7c96505db 100644 --- a/packages/binding-coap/src/coap.ts +++ b/packages/binding-coap/src/coap.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-coap/src/coaps-client-factory.ts b/packages/binding-coap/src/coaps-client-factory.ts index 1349f2f42..70a700af0 100644 --- a/packages/binding-coap/src/coaps-client-factory.ts +++ b/packages/binding-coap/src/coaps-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-coap/src/coaps-client.ts b/packages/binding-coap/src/coaps-client.ts index 2113c4f4f..a76168166 100644 --- a/packages/binding-coap/src/coaps-client.ts +++ b/packages/binding-coap/src/coaps-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-coap/test/coap-client-test.ts b/packages/binding-coap/test/coap-client-test.ts index 4879792d8..1b44cc08d 100644 --- a/packages/binding-coap/test/coap-client-test.ts +++ b/packages/binding-coap/test/coap-client-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-coap/test/coap-server-test.ts b/packages/binding-coap/test/coap-server-test.ts index 901c952cb..cd791d22b 100644 --- a/packages/binding-coap/test/coap-server-test.ts +++ b/packages/binding-coap/test/coap-server-test.ts @@ -1,6 +1,6 @@ import Servient, { ExposedThing, Content } from "@node-wot/core"; /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-file/src/file-client-factory.ts b/packages/binding-file/src/file-client-factory.ts index 0952f3c1c..62f90ac5a 100644 --- a/packages/binding-file/src/file-client-factory.ts +++ b/packages/binding-file/src/file-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-file/src/file-client.ts b/packages/binding-file/src/file-client.ts index 31c3d005a..91d4a2305 100644 --- a/packages/binding-file/src/file-client.ts +++ b/packages/binding-file/src/file-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-file/src/file.ts b/packages/binding-file/src/file.ts index eda611d0f..ed1df8ad8 100644 --- a/packages/binding-file/src/file.ts +++ b/packages/binding-file/src/file.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/codecs/tuya-codec.ts b/packages/binding-http/src/codecs/tuya-codec.ts index 26c9c240c..d6165cd45 100644 --- a/packages/binding-http/src/codecs/tuya-codec.ts +++ b/packages/binding-http/src/codecs/tuya-codec.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/credential.ts b/packages/binding-http/src/credential.ts index 79bf9b849..540688b4b 100644 --- a/packages/binding-http/src/credential.ts +++ b/packages/binding-http/src/credential.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/http-browser.ts b/packages/binding-http/src/http-browser.ts index 5b6bd9b65..712f325c3 100644 --- a/packages/binding-http/src/http-browser.ts +++ b/packages/binding-http/src/http-browser.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/http-client-factory.ts b/packages/binding-http/src/http-client-factory.ts index a3e192b3b..d30e682a5 100644 --- a/packages/binding-http/src/http-client-factory.ts +++ b/packages/binding-http/src/http-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/http-client-impl.ts b/packages/binding-http/src/http-client-impl.ts index de5c93182..24b1f9422 100644 --- a/packages/binding-http/src/http-client-impl.ts +++ b/packages/binding-http/src/http-client-impl.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/http-client.ts b/packages/binding-http/src/http-client.ts index 40db5483e..0c1da00e5 100644 --- a/packages/binding-http/src/http-client.ts +++ b/packages/binding-http/src/http-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/http-server.ts b/packages/binding-http/src/http-server.ts index e2b88f97a..0489093e9 100644 --- a/packages/binding-http/src/http-server.ts +++ b/packages/binding-http/src/http-server.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/http.ts b/packages/binding-http/src/http.ts index b77ac1cf9..a44ffc20a 100644 --- a/packages/binding-http/src/http.ts +++ b/packages/binding-http/src/http.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/https-client-factory.ts b/packages/binding-http/src/https-client-factory.ts index c4784c2a5..8c7e6dca3 100644 --- a/packages/binding-http/src/https-client-factory.ts +++ b/packages/binding-http/src/https-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/oauth-manager.ts b/packages/binding-http/src/oauth-manager.ts index 56348f8aa..9f6e032f8 100644 --- a/packages/binding-http/src/oauth-manager.ts +++ b/packages/binding-http/src/oauth-manager.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/oauth-token-validation.ts b/packages/binding-http/src/oauth-token-validation.ts index f1c8a3f3f..29638391e 100644 --- a/packages/binding-http/src/oauth-token-validation.ts +++ b/packages/binding-http/src/oauth-token-validation.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/src/subscription-protocols.ts b/packages/binding-http/src/subscription-protocols.ts index 11002570c..819d81265 100644 --- a/packages/binding-http/src/subscription-protocols.ts +++ b/packages/binding-http/src/subscription-protocols.ts @@ -1,6 +1,6 @@ /* eslint-disable dot-notation -- we are using private functions from HttpClient */ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/test/credential-test.ts b/packages/binding-http/test/credential-test.ts index 29419a483..12bfb3078 100644 --- a/packages/binding-http/test/credential-test.ts +++ b/packages/binding-http/test/credential-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/test/http-client-basic-test.ts b/packages/binding-http/test/http-client-basic-test.ts index 3f322131f..e57424bbd 100644 --- a/packages/binding-http/test/http-client-basic-test.ts +++ b/packages/binding-http/test/http-client-basic-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/test/http-client-oauth-tests.ts b/packages/binding-http/test/http-client-oauth-tests.ts index e0f34b13c..9ec3ca56c 100644 --- a/packages/binding-http/test/http-client-oauth-tests.ts +++ b/packages/binding-http/test/http-client-oauth-tests.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/test/http-client-test.ts b/packages/binding-http/test/http-client-test.ts index 1bb7067a4..026008ac2 100644 --- a/packages/binding-http/test/http-client-test.ts +++ b/packages/binding-http/test/http-client-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/test/http-server-oauth-tests.ts b/packages/binding-http/test/http-server-oauth-tests.ts index 09356fa9d..5ccc206b7 100644 --- a/packages/binding-http/test/http-server-oauth-tests.ts +++ b/packages/binding-http/test/http-server-oauth-tests.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/test/http-server-test.ts b/packages/binding-http/test/http-server-test.ts index e62e6e8d1..e0e99ef2f 100644 --- a/packages/binding-http/test/http-server-test.ts +++ b/packages/binding-http/test/http-server-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/test/memory-model.ts b/packages/binding-http/test/memory-model.ts index 8c0901cbc..81034a7cb 100644 --- a/packages/binding-http/test/memory-model.ts +++ b/packages/binding-http/test/memory-model.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-http/test/oauth-token-validation-tests.ts b/packages/binding-http/test/oauth-token-validation-tests.ts index 642eedf14..aaa94e304 100644 --- a/packages/binding-http/test/oauth-token-validation-tests.ts +++ b/packages/binding-http/test/oauth-token-validation-tests.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mbus/src/mbus-client-factory.ts b/packages/binding-mbus/src/mbus-client-factory.ts index 69008bd48..f937736d6 100644 --- a/packages/binding-mbus/src/mbus-client-factory.ts +++ b/packages/binding-mbus/src/mbus-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mbus/src/mbus-client.ts b/packages/binding-mbus/src/mbus-client.ts index 63a8c24cb..c412b399c 100644 --- a/packages/binding-mbus/src/mbus-client.ts +++ b/packages/binding-mbus/src/mbus-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mbus/src/mbus-connection.ts b/packages/binding-mbus/src/mbus-connection.ts index 5eaad85d8..307157b09 100644 --- a/packages/binding-mbus/src/mbus-connection.ts +++ b/packages/binding-mbus/src/mbus-connection.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mbus/test/mbus-client-test.ts b/packages/binding-mbus/test/mbus-client-test.ts index 1a9253005..7657b23e3 100644 --- a/packages/binding-mbus/test/mbus-client-test.ts +++ b/packages/binding-mbus/test/mbus-client-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mbus/test/test-servient.ts b/packages/binding-mbus/test/test-servient.ts index 1fa96fdb1..ce6bc917f 100644 --- a/packages/binding-mbus/test/test-servient.ts +++ b/packages/binding-mbus/test/test-servient.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/src/modbus-client-factory.ts b/packages/binding-modbus/src/modbus-client-factory.ts index 29173f710..118e86941 100644 --- a/packages/binding-modbus/src/modbus-client-factory.ts +++ b/packages/binding-modbus/src/modbus-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/src/modbus-client.ts b/packages/binding-modbus/src/modbus-client.ts index f375d227d..076be25db 100644 --- a/packages/binding-modbus/src/modbus-client.ts +++ b/packages/binding-modbus/src/modbus-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/src/modbus-connection.ts b/packages/binding-modbus/src/modbus-connection.ts index 9598ae611..86f6cc92b 100644 --- a/packages/binding-modbus/src/modbus-connection.ts +++ b/packages/binding-modbus/src/modbus-connection.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/src/modbus.ts b/packages/binding-modbus/src/modbus.ts index d20747836..409ceafd2 100644 --- a/packages/binding-modbus/src/modbus.ts +++ b/packages/binding-modbus/src/modbus.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/src/utils.ts b/packages/binding-modbus/src/utils.ts index 73d729e8a..4ee12d6fb 100644 --- a/packages/binding-modbus/src/utils.ts +++ b/packages/binding-modbus/src/utils.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/test/modbus-client-test.ts b/packages/binding-modbus/test/modbus-client-test.ts index e8f8391c4..aa7e7793c 100644 --- a/packages/binding-modbus/test/modbus-client-test.ts +++ b/packages/binding-modbus/test/modbus-client-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/test/modbus-connection-test.ts b/packages/binding-modbus/test/modbus-connection-test.ts index 4b1cc2522..b6f54c518 100644 --- a/packages/binding-modbus/test/modbus-connection-test.ts +++ b/packages/binding-modbus/test/modbus-connection-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/test/test-modbus-server.ts b/packages/binding-modbus/test/test-modbus-server.ts index a344eeb93..66b9be4b7 100644 --- a/packages/binding-modbus/test/test-modbus-server.ts +++ b/packages/binding-modbus/test/test-modbus-server.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-modbus/test/test-servient.ts b/packages/binding-modbus/test/test-servient.ts index 186096639..5770f1958 100644 --- a/packages/binding-modbus/test/test-servient.ts +++ b/packages/binding-modbus/test/test-servient.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mqtt/src/mqtt-broker-server.ts b/packages/binding-mqtt/src/mqtt-broker-server.ts index 61fec016d..a060f3fdf 100644 --- a/packages/binding-mqtt/src/mqtt-broker-server.ts +++ b/packages/binding-mqtt/src/mqtt-broker-server.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mqtt/src/mqtt-client-factory.ts b/packages/binding-mqtt/src/mqtt-client-factory.ts index 375d4d0df..78d64f77b 100644 --- a/packages/binding-mqtt/src/mqtt-client-factory.ts +++ b/packages/binding-mqtt/src/mqtt-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mqtt/src/mqtt-client.ts b/packages/binding-mqtt/src/mqtt-client.ts index ef3b5d1c9..828f6b77f 100644 --- a/packages/binding-mqtt/src/mqtt-client.ts +++ b/packages/binding-mqtt/src/mqtt-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mqtt/src/mqtt.ts b/packages/binding-mqtt/src/mqtt.ts index eea1b1385..957d5138e 100644 --- a/packages/binding-mqtt/src/mqtt.ts +++ b/packages/binding-mqtt/src/mqtt.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mqtt/src/mqtts-client-factory.ts b/packages/binding-mqtt/src/mqtts-client-factory.ts index 8bdea5bca..3c0519527 100644 --- a/packages/binding-mqtt/src/mqtts-client-factory.ts +++ b/packages/binding-mqtt/src/mqtts-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mqtt/test/mqtt-client-subscribe-test.integration.ts b/packages/binding-mqtt/test/mqtt-client-subscribe-test.integration.ts index 70b7aad8d..25633e30c 100644 --- a/packages/binding-mqtt/test/mqtt-client-subscribe-test.integration.ts +++ b/packages/binding-mqtt/test/mqtt-client-subscribe-test.integration.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-mqtt/test/mqtt-client-subscribe-test.unit.ts b/packages/binding-mqtt/test/mqtt-client-subscribe-test.unit.ts index e889869a2..f4b270b1b 100644 --- a/packages/binding-mqtt/test/mqtt-client-subscribe-test.unit.ts +++ b/packages/binding-mqtt/test/mqtt-client-subscribe-test.unit.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-netconf/src/async-node-netconf.ts b/packages/binding-netconf/src/async-node-netconf.ts index 7eebfd505..e03f02144 100644 --- a/packages/binding-netconf/src/async-node-netconf.ts +++ b/packages/binding-netconf/src/async-node-netconf.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-netconf/src/codecs/netconf-codec.ts b/packages/binding-netconf/src/codecs/netconf-codec.ts index 81f22578c..fc33c21cd 100644 --- a/packages/binding-netconf/src/codecs/netconf-codec.ts +++ b/packages/binding-netconf/src/codecs/netconf-codec.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-netconf/src/netconf-client-factory.ts b/packages/binding-netconf/src/netconf-client-factory.ts index 4bd09e821..9bed91a61 100644 --- a/packages/binding-netconf/src/netconf-client-factory.ts +++ b/packages/binding-netconf/src/netconf-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-netconf/src/netconf-client.ts b/packages/binding-netconf/src/netconf-client.ts index 90d8892cb..97a564b74 100644 --- a/packages/binding-netconf/src/netconf-client.ts +++ b/packages/binding-netconf/src/netconf-client.ts @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-netconf/src/netconf.ts b/packages/binding-netconf/src/netconf.ts index 99c5180ae..575893d50 100644 --- a/packages/binding-netconf/src/netconf.ts +++ b/packages/binding-netconf/src/netconf.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-netconf/src/xpath2json.ts b/packages/binding-netconf/src/xpath2json.ts index 5edcf93c2..06a24d2b5 100644 --- a/packages/binding-netconf/src/xpath2json.ts +++ b/packages/binding-netconf/src/xpath2json.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-netconf/test/netconf-client-test.ts b/packages/binding-netconf/test/netconf-client-test.ts index b7948ed17..1386dd5c2 100644 --- a/packages/binding-netconf/test/netconf-client-test.ts +++ b/packages/binding-netconf/test/netconf-client-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-opcua/src/codec.ts b/packages/binding-opcua/src/codec.ts index 45520bfff..4e4626021 100644 --- a/packages/binding-opcua/src/codec.ts +++ b/packages/binding-opcua/src/codec.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-opcua/src/opcua-protocol-client.ts b/packages/binding-opcua/src/opcua-protocol-client.ts index 524564c1c..2df14aa2a 100644 --- a/packages/binding-opcua/src/opcua-protocol-client.ts +++ b/packages/binding-opcua/src/opcua-protocol-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-opcua/test/client-test.ts b/packages/binding-opcua/test/client-test.ts index 8c0d163a4..34f3e81ec 100644 --- a/packages/binding-opcua/test/client-test.ts +++ b/packages/binding-opcua/test/client-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-opcua/test/fixture/basic-opcua-server.ts b/packages/binding-opcua/test/fixture/basic-opcua-server.ts index b7013b2be..4f3918991 100644 --- a/packages/binding-opcua/test/fixture/basic-opcua-server.ts +++ b/packages/binding-opcua/test/fixture/basic-opcua-server.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-opcua/test/full-opcua-thing-test.ts b/packages/binding-opcua/test/full-opcua-thing-test.ts index f29ec5362..3d3966683 100644 --- a/packages/binding-opcua/test/full-opcua-thing-test.ts +++ b/packages/binding-opcua/test/full-opcua-thing-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-opcua/test/opcua-codec-test.ts b/packages/binding-opcua/test/opcua-codec-test.ts index e63c58350..deaa9cfd8 100644 --- a/packages/binding-opcua/test/opcua-codec-test.ts +++ b/packages/binding-opcua/test/opcua-codec-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-opcua/test/schema-validation-test.ts b/packages/binding-opcua/test/schema-validation-test.ts index 26803cb71..7f069df3a 100644 --- a/packages/binding-opcua/test/schema-validation-test.ts +++ b/packages/binding-opcua/test/schema-validation-test.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-websockets/src/ws-browser.ts b/packages/binding-websockets/src/ws-browser.ts index 2a62a33fc..699bef3fd 100644 --- a/packages/binding-websockets/src/ws-browser.ts +++ b/packages/binding-websockets/src/ws-browser.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-websockets/src/ws-client-factory.ts b/packages/binding-websockets/src/ws-client-factory.ts index cfc35c5b0..09425cfc0 100644 --- a/packages/binding-websockets/src/ws-client-factory.ts +++ b/packages/binding-websockets/src/ws-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-websockets/src/ws-client.ts b/packages/binding-websockets/src/ws-client.ts index cdf79dd12..ade221fe9 100644 --- a/packages/binding-websockets/src/ws-client.ts +++ b/packages/binding-websockets/src/ws-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-websockets/src/ws-server.ts b/packages/binding-websockets/src/ws-server.ts index 82cf3728c..5b152a6af 100644 --- a/packages/binding-websockets/src/ws-server.ts +++ b/packages/binding-websockets/src/ws-server.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-websockets/src/ws.ts b/packages/binding-websockets/src/ws.ts index a371feb42..c277a8f60 100644 --- a/packages/binding-websockets/src/ws.ts +++ b/packages/binding-websockets/src/ws.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-websockets/src/wss-client-factory.ts b/packages/binding-websockets/src/wss-client-factory.ts index 0a6958665..a87747e2b 100644 --- a/packages/binding-websockets/src/wss-client-factory.ts +++ b/packages/binding-websockets/src/wss-client-factory.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/binding-websockets/test/ws-tests.ts b/packages/binding-websockets/test/ws-tests.ts index 0a5a4f001..5a132cbbd 100644 --- a/packages/binding-websockets/test/ws-tests.ts +++ b/packages/binding-websockets/test/ws-tests.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/cli/src/cli-default-servient.ts b/packages/cli/src/cli-default-servient.ts index 09f0aed48..d45079313 100644 --- a/packages/cli/src/cli-default-servient.ts +++ b/packages/cli/src/cli-default-servient.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index cceb0efe6..cb632dc0f 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -1,6 +1,6 @@ #!/usr/bin/env node /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/cli/test/RuntimeTest.ts b/packages/cli/test/RuntimeTest.ts index 58ce7e9fc..46e5d21d5 100644 --- a/packages/cli/test/RuntimeTest.ts +++ b/packages/cli/test/RuntimeTest.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/codecs/base64-codec.ts b/packages/core/src/codecs/base64-codec.ts index ffe8d6a5b..5b45b58e7 100644 --- a/packages/core/src/codecs/base64-codec.ts +++ b/packages/core/src/codecs/base64-codec.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/codecs/json-codec.ts b/packages/core/src/codecs/json-codec.ts index 10943ac31..fc2895a0d 100644 --- a/packages/core/src/codecs/json-codec.ts +++ b/packages/core/src/codecs/json-codec.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/codecs/netconf-codec.ts b/packages/core/src/codecs/netconf-codec.ts index 7daeeb953..45f793e66 100644 --- a/packages/core/src/codecs/netconf-codec.ts +++ b/packages/core/src/codecs/netconf-codec.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/codecs/octetstream-codec.ts b/packages/core/src/codecs/octetstream-codec.ts index 4ede2be79..97d5c667e 100644 --- a/packages/core/src/codecs/octetstream-codec.ts +++ b/packages/core/src/codecs/octetstream-codec.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/codecs/text-codec.ts b/packages/core/src/codecs/text-codec.ts index db03918c8..d6912fcff 100644 --- a/packages/core/src/codecs/text-codec.ts +++ b/packages/core/src/codecs/text-codec.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/consumed-thing.ts b/packages/core/src/consumed-thing.ts index b7608dd0a..dd40b6797 100644 --- a/packages/core/src/consumed-thing.ts +++ b/packages/core/src/consumed-thing.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/content-serdes.ts b/packages/core/src/content-serdes.ts index 6254687cc..a9165995f 100644 --- a/packages/core/src/content-serdes.ts +++ b/packages/core/src/content-serdes.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index 048492ecf..863c752cc 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/exposed-thing.ts b/packages/core/src/exposed-thing.ts index e5dacf716..5a9894b5d 100644 --- a/packages/core/src/exposed-thing.ts +++ b/packages/core/src/exposed-thing.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/helpers.ts b/packages/core/src/helpers.ts index df7f7d224..1dfd7e84b 100644 --- a/packages/core/src/helpers.ts +++ b/packages/core/src/helpers.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/interaction-output.ts b/packages/core/src/interaction-output.ts index fff54e2d0..68f2bf908 100644 --- a/packages/core/src/interaction-output.ts +++ b/packages/core/src/interaction-output.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/protocol-helpers.ts b/packages/core/src/protocol-helpers.ts index 730df6281..f269827c4 100644 --- a/packages/core/src/protocol-helpers.ts +++ b/packages/core/src/protocol-helpers.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/protocol-interfaces.ts b/packages/core/src/protocol-interfaces.ts index 68ded1233..768ed0870 100644 --- a/packages/core/src/protocol-interfaces.ts +++ b/packages/core/src/protocol-interfaces.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/protocol-listener-registry.ts b/packages/core/src/protocol-listener-registry.ts index d3aabe949..c3aed494c 100644 --- a/packages/core/src/protocol-listener-registry.ts +++ b/packages/core/src/protocol-listener-registry.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/servient.ts b/packages/core/src/servient.ts index 448836909..627e3d4f7 100644 --- a/packages/core/src/servient.ts +++ b/packages/core/src/servient.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/src/wot-impl.ts b/packages/core/src/wot-impl.ts index 55ac7265b..33f29a2e0 100644 --- a/packages/core/src/wot-impl.ts +++ b/packages/core/src/wot-impl.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/test/ClientTest.ts b/packages/core/test/ClientTest.ts index 56a28678a..8c3ded6f6 100644 --- a/packages/core/test/ClientTest.ts +++ b/packages/core/test/ClientTest.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/test/ContentSerdesTest.ts b/packages/core/test/ContentSerdesTest.ts index 01a36b70e..841adf19d 100644 --- a/packages/core/test/ContentSerdesTest.ts +++ b/packages/core/test/ContentSerdesTest.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/test/HelpersTest.ts b/packages/core/test/HelpersTest.ts index 4b235647b..5ebc20375 100644 --- a/packages/core/test/HelpersTest.ts +++ b/packages/core/test/HelpersTest.ts @@ -1,6 +1,6 @@ /* eslint-disable no-unused-expressions */ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/test/InteractionOutputTest.ts b/packages/core/test/InteractionOutputTest.ts index d5202cc1e..8ea250aff 100644 --- a/packages/core/test/InteractionOutputTest.ts +++ b/packages/core/test/InteractionOutputTest.ts @@ -1,6 +1,6 @@ /* eslint-disable no-unused-expressions */ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/test/ProtocolHelpersStreamTest.ts b/packages/core/test/ProtocolHelpersStreamTest.ts index 6456ce704..0b5d5ead6 100644 --- a/packages/core/test/ProtocolHelpersStreamTest.ts +++ b/packages/core/test/ProtocolHelpersStreamTest.ts @@ -1,6 +1,6 @@ /* eslint-disable no-unused-expressions */ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/test/ProtocolHelpersTest.ts b/packages/core/test/ProtocolHelpersTest.ts index 01e9ad356..5cc0a9a45 100644 --- a/packages/core/test/ProtocolHelpersTest.ts +++ b/packages/core/test/ProtocolHelpersTest.ts @@ -1,6 +1,6 @@ /* eslint-disable no-unused-expressions */ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/core/test/ServerTest.ts b/packages/core/test/ServerTest.ts index 6c1ddedb1..0e4fe9d8e 100644 --- a/packages/core/test/ServerTest.ts +++ b/packages/core/test/ServerTest.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/examples/src/scripts/countdown.ts b/packages/examples/src/scripts/countdown.ts index f17377f7f..b1e4e70b1 100644 --- a/packages/examples/src/scripts/countdown.ts +++ b/packages/examples/src/scripts/countdown.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2021 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/examples/src/scripts/counter-client.ts b/packages/examples/src/scripts/counter-client.ts index d4af4d4ae..41200f950 100644 --- a/packages/examples/src/scripts/counter-client.ts +++ b/packages/examples/src/scripts/counter-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/examples/src/scripts/counter.ts b/packages/examples/src/scripts/counter.ts index c70545bdc..6b561b657 100644 --- a/packages/examples/src/scripts/counter.ts +++ b/packages/examples/src/scripts/counter.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/examples/src/scripts/smart-coffee-machine-client.ts b/packages/examples/src/scripts/smart-coffee-machine-client.ts index 3d2f6e55e..cd51c3690 100644 --- a/packages/examples/src/scripts/smart-coffee-machine-client.ts +++ b/packages/examples/src/scripts/smart-coffee-machine-client.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/examples/src/scripts/smart-coffee-machine.ts b/packages/examples/src/scripts/smart-coffee-machine.ts index 9bcf095be..977b1693a 100644 --- a/packages/examples/src/scripts/smart-coffee-machine.ts +++ b/packages/examples/src/scripts/smart-coffee-machine.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/examples/src/testthing/testclient.ts b/packages/examples/src/testthing/testclient.ts index d73ad90ee..11a7cc8b2 100644 --- a/packages/examples/src/testthing/testclient.ts +++ b/packages/examples/src/testthing/testclient.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/examples/src/testthing/testthing.ts b/packages/examples/src/testthing/testthing.ts index 981b50d9f..1bb196b08 100644 --- a/packages/examples/src/testthing/testthing.ts +++ b/packages/examples/src/testthing/testthing.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/src/td-helpers.ts b/packages/td-tools/src/td-helpers.ts index 7a0321125..521e1b78e 100644 --- a/packages/td-tools/src/td-helpers.ts +++ b/packages/td-tools/src/td-helpers.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/src/td-parser.ts b/packages/td-tools/src/td-parser.ts index 84b572c87..886a536b3 100644 --- a/packages/td-tools/src/td-parser.ts +++ b/packages/td-tools/src/td-parser.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/src/td-tools.ts b/packages/td-tools/src/td-tools.ts index ffc4197d9..dbfc2207d 100644 --- a/packages/td-tools/src/td-tools.ts +++ b/packages/td-tools/src/td-tools.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/src/thing-description.ts b/packages/td-tools/src/thing-description.ts index c3277f577..adc234b37 100644 --- a/packages/td-tools/src/thing-description.ts +++ b/packages/td-tools/src/thing-description.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/src/thing-model-helpers.ts b/packages/td-tools/src/thing-model-helpers.ts index 82d307ccb..a761e69af 100644 --- a/packages/td-tools/src/thing-model-helpers.ts +++ b/packages/td-tools/src/thing-model-helpers.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/src/util/asset-interface-description.ts b/packages/td-tools/src/util/asset-interface-description.ts index 5e9937193..17194e949 100644 --- a/packages/td-tools/src/util/asset-interface-description.ts +++ b/packages/td-tools/src/util/asset-interface-description.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/test/AssetInterfaceDescriptionTest.ts b/packages/td-tools/test/AssetInterfaceDescriptionTest.ts index 83d9363a4..d96d91685 100644 --- a/packages/td-tools/test/AssetInterfaceDescriptionTest.ts +++ b/packages/td-tools/test/AssetInterfaceDescriptionTest.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/test/TDParseTest.ts b/packages/td-tools/test/TDParseTest.ts index 475b8abe9..6c336fe15 100644 --- a/packages/td-tools/test/TDParseTest.ts +++ b/packages/td-tools/test/TDParseTest.ts @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/packages/td-tools/test/ThingModelHelperTest.ts b/packages/td-tools/test/ThingModelHelperTest.ts index 4e5d1d4e1..68e7fbbcc 100644 --- a/packages/td-tools/test/ThingModelHelperTest.ts +++ b/packages/td-tools/test/ThingModelHelperTest.ts @@ -1,6 +1,6 @@ /* eslint-disable no-unused-expressions */ /******************************************************************************** - * Copyright (c) 2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/utils/fix-copyright/CopyrightFix.java b/utils/fix-copyright/CopyrightFix.java index 2bb4938fd..fa3628fa8 100644 --- a/utils/fix-copyright/CopyrightFix.java +++ b/utils/fix-copyright/CopyrightFix.java @@ -153,13 +153,14 @@ public void run() { } } - static String getNewLine(String line, int yearCreation, int yearLastModified, boolean useYearRange) { + static String getNewLine(String line, int yearCreation, int yearLastModified, boolean useYearRange, boolean useYearOfCreation) { int idx1 = checkMatchIndex(line, COPYRIGHT_HEADER_LINE_START); String newLine; if (yearCreation == yearLastModified || !useYearRange) { // one year only + int year = useYearOfCreation ? yearCreation : yearLastModified; // e.g., Copyright (c) 2019 Contributors to the Eclipse Foundation - newLine = line.substring(0, idx1) + COPYRIGHT_HEADER_LINE_START + " " + yearLastModified + " " + COPYRIGHT_HEADER_LINE_END; + newLine = line.substring(0, idx1) + COPYRIGHT_HEADER_LINE_START + " " + year + " " + COPYRIGHT_HEADER_LINE_END; } else { // year range // e.g., Copyright (c) 2018 - 2019 Contributors to the Eclipse Foundation @@ -174,18 +175,20 @@ static void checkCopyrightLine(String line, int lineNumber, File file) throws IO // Note: we no longer use year ranges since it is optional, see https://www.eclipse.org/projects/handbook/#ip-copyright-headers boolean useYearRange = false; + // configure whether we use year of creation or year of last modification + boolean useYearOfCreation = true; int yearCreation = getCommitYear(file, true); int yearLastModified = getCommitYear(file, false); - String newLine = getNewLine(line, yearCreation, yearLastModified, useYearRange); + String newLine = getNewLine(line, yearCreation, yearLastModified, useYearRange, useYearOfCreation); if (!line.equals(newLine)) { System.out.println(file); if (useYearRange) { // Note: need to re-run newLine call since after commit the yearLastModified changes to current year yearLastModified = LocalDate.now().getYear(); } - newLine = getNewLine(line, yearCreation, yearLastModified, useYearRange); + newLine = getNewLine(line, yearCreation, yearLastModified, useYearRange, useYearOfCreation); System.out.println("\t change " + line + " --> " + newLine); updateCopyrightLine(path, lineNumber, newLine); }