summaryrefslogtreecommitdiff
path: root/passgen/random
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-08-14 00:31:25 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-08-14 00:31:25 +0530
commit282e9519ae5c7007dec1f79967de243a753decba (patch)
tree8aa62763f9f7c39d7b0c5ffedc857a552a9119e2 /passgen/random
parentb699b4db71d08b574cc31daf4ee8c9b849ebaa11 (diff)
chore: add missing copyright headers and update existing ones
Diffstat (limited to 'passgen/random')
-rw-r--r--passgen/random/build.gradle.kts2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt5
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt5
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt5
8 files changed, 20 insertions, 5 deletions
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] */