From 355c839ca540be0245a456e4b8b5e0c94e3d910a Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 7 Sep 2023 15:14:00 +0200 Subject: [PATCH] Turn KeyLength method into val --- .../main/kotlin/org/pgpainless/key/generation/type/KeyLength.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/KeyLength.kt b/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/KeyLength.kt index 12e39b08..377fbb94 100644 --- a/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/KeyLength.kt +++ b/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/KeyLength.kt @@ -6,5 +6,5 @@ package org.pgpainless.key.generation.type interface KeyLength { - fun getLength(): Int + val length: Int } \ No newline at end of file