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 --- passgen/diceware/build.gradle.kts | 2 +- passgen/diceware/src/main/AndroidManifest.xml | 4 ++-- .../passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt | 2 +- .../src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt | 2 +- .../kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt | 2 +- .../main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt | 2 +- .../passgen/diceware/DicewarePassphraseGeneratorTest.kt | 2 +- .../src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt | 2 +- .../kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt | 2 +- passgen/random/build.gradle.kts | 2 +- .../kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt | 2 +- .../app/passwordstore/passgen/random/PasswordGeneratorException.kt | 5 +++++ .../main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt | 5 +++++ .../kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt | 2 +- .../app/passwordstore/passgen/random/RandomPasswordGenerator.kt | 2 +- .../app/passwordstore/passgen/random/RandomPhonemesGenerator.kt | 2 +- .../main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt | 5 +++++ 17 files changed, 30 insertions(+), 15 deletions(-) (limited to 'passgen') diff --git a/passgen/diceware/build.gradle.kts b/passgen/diceware/build.gradle.kts index f7bb2fd2..88116958 100644 --- a/passgen/diceware/build.gradle.kts +++ b/passgen/diceware/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 { diff --git a/passgen/diceware/src/main/AndroidManifest.xml b/passgen/diceware/src/main/AndroidManifest.xml index e3cc34c8..c5303eba 100644 --- a/passgen/diceware/src/main/AndroidManifest.xml +++ b/passgen/diceware/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ diff --git a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt index 36d7e600..1ac89295 100644 --- a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt +++ b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.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/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt index c93fc40f..b5343154 100644 --- a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt +++ b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.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/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt index 18a828a6..10054554 100644 --- a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt +++ b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.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/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt index 6c7f5310..f72eea91 100644 --- a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt +++ b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.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/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.kt b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.kt index 976e0345..36316518 100644 --- a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.kt +++ b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.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/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt index 725d80f7..ea6c56e0 100644 --- a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt +++ b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.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/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt index c9757351..76cd7d57 100644 --- a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt +++ b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.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/passgen/random/build.gradle.kts b/passgen/random/build.gradle.kts index 698a36b5..0a1cdfea 100644 --- a/passgen/random/build.gradle.kts +++ b/passgen/random/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/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt index 17a60456..b9d01516 100644 --- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt +++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.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 */ package app.passwordstore.passgen.random diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt index 16ebdc90..ec5c38c7 100644 --- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt +++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.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.passgen.random public sealed class PasswordGeneratorException(message: String? = null, cause: Throwable? = null) : diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt index 860e3573..f1e1d985 100644 --- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt +++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.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.passgen.random public enum class PasswordOption(public val key: String) { diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt index 4ea3a923..4a66711a 100644 --- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt +++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.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 */ package app.passwordstore.passgen.random diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt index 80e5e583..193508c9 100644 --- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt +++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.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 */ package app.passwordstore.passgen.random diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt index b23acb5e..f451273c 100644 --- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt +++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.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 */ package app.passwordstore.passgen.random diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt index 71eec63b..9219e567 100644 --- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt +++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.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.passgen.random.util /** Clears the given [flag] from the value of this [Int] */ -- cgit v1.2.3