From 282e9519ae5c7007dec1f79967de243a753decba Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 14 Aug 2024 00:31:25 +0530 Subject: chore: add missing copyright headers and update existing ones --- format/common/build.gradle.kts | 2 +- .../src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt | 2 +- .../common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt | 5 +++++ .../common/src/main/kotlin/app/passwordstore/util/time/UserClock.kt | 2 +- format/common/src/main/kotlin/app/passwordstore/util/totp/Otp.kt | 2 +- .../common/src/main/kotlin/app/passwordstore/util/totp/TotpFinder.kt | 2 +- .../src/main/kotlin/app/passwordstore/util/totp/UriTotpFinder.kt | 5 +++++ .../test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt | 2 +- .../src/test/kotlin/app/passwordstore/util/time/TestUserClock.kt | 2 +- format/common/src/test/kotlin/app/passwordstore/util/totp/OtpTest.kt | 2 +- .../src/test/kotlin/app/passwordstore/util/totp/UriTotpFinderTest.kt | 2 +- 11 files changed, 19 insertions(+), 9 deletions(-) (limited to 'format') diff --git a/format/common/build.gradle.kts b/format/common/build.gradle.kts index b4ac58b6..51a69804 100644 --- a/format/common/build.gradle.kts +++ b/format/common/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ plugins { id("com.github.android-password-store.kotlin-jvm-library") } diff --git a/format/common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt b/format/common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt index aeaa745b..f0009dcf 100644 --- a/format/common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt +++ b/format/common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ diff --git a/format/common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt b/format/common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt index c279360f..5e98ecd4 100644 --- a/format/common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt +++ b/format/common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt @@ -1,3 +1,8 @@ +/* + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. + * SPDX-License-Identifier: GPL-3.0-only + */ + package app.passwordstore.data.passfile import kotlin.time.Duration diff --git a/format/common/src/main/kotlin/app/passwordstore/util/time/UserClock.kt b/format/common/src/main/kotlin/app/passwordstore/util/time/UserClock.kt index 4ffeb6a6..2eb891e2 100644 --- a/format/common/src/main/kotlin/app/passwordstore/util/time/UserClock.kt +++ b/format/common/src/main/kotlin/app/passwordstore/util/time/UserClock.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ diff --git a/format/common/src/main/kotlin/app/passwordstore/util/totp/Otp.kt b/format/common/src/main/kotlin/app/passwordstore/util/totp/Otp.kt index 10e771fe..a6efee2d 100644 --- a/format/common/src/main/kotlin/app/passwordstore/util/totp/Otp.kt +++ b/format/common/src/main/kotlin/app/passwordstore/util/totp/Otp.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ diff --git a/format/common/src/main/kotlin/app/passwordstore/util/totp/TotpFinder.kt b/format/common/src/main/kotlin/app/passwordstore/util/totp/TotpFinder.kt index d53d76dc..71d4d174 100644 --- a/format/common/src/main/kotlin/app/passwordstore/util/totp/TotpFinder.kt +++ b/format/common/src/main/kotlin/app/passwordstore/util/totp/TotpFinder.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ diff --git a/format/common/src/main/kotlin/app/passwordstore/util/totp/UriTotpFinder.kt b/format/common/src/main/kotlin/app/passwordstore/util/totp/UriTotpFinder.kt index bb97c90c..454a38b5 100644 --- a/format/common/src/main/kotlin/app/passwordstore/util/totp/UriTotpFinder.kt +++ b/format/common/src/main/kotlin/app/passwordstore/util/totp/UriTotpFinder.kt @@ -1,3 +1,8 @@ +/* + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. + * SPDX-License-Identifier: GPL-3.0-only + */ + package app.passwordstore.util.totp import com.eygraber.uri.Uri diff --git a/format/common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt b/format/common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt index ccac0b81..4efb140b 100644 --- a/format/common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt +++ b/format/common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ diff --git a/format/common/src/test/kotlin/app/passwordstore/util/time/TestUserClock.kt b/format/common/src/test/kotlin/app/passwordstore/util/time/TestUserClock.kt index 8a860a39..b129d9d3 100644 --- a/format/common/src/test/kotlin/app/passwordstore/util/time/TestUserClock.kt +++ b/format/common/src/test/kotlin/app/passwordstore/util/time/TestUserClock.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ diff --git a/format/common/src/test/kotlin/app/passwordstore/util/totp/OtpTest.kt b/format/common/src/test/kotlin/app/passwordstore/util/totp/OtpTest.kt index 6f94bda5..1883d5ec 100644 --- a/format/common/src/test/kotlin/app/passwordstore/util/totp/OtpTest.kt +++ b/format/common/src/test/kotlin/app/passwordstore/util/totp/OtpTest.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ diff --git a/format/common/src/test/kotlin/app/passwordstore/util/totp/UriTotpFinderTest.kt b/format/common/src/test/kotlin/app/passwordstore/util/totp/UriTotpFinderTest.kt index 16d9900c..ed4c95a8 100644 --- a/format/common/src/test/kotlin/app/passwordstore/util/totp/UriTotpFinderTest.kt +++ b/format/common/src/test/kotlin/app/passwordstore/util/totp/UriTotpFinderTest.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ -- cgit v1.2.3