From 2fb7e6c3a3fad7ab634ba1df5739b0909c8ce5f8 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Fri, 4 Aug 2023 17:05:33 +0200 Subject: [PATCH] Kotlin conversion: RevocationStateType --- .../{RevocationStateType.java => RevocationStateType.kt} | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) rename pgpainless-core/src/main/java/org/pgpainless/algorithm/{RevocationStateType.java => RevocationStateType.kt} (68%) diff --git a/pgpainless-core/src/main/java/org/pgpainless/algorithm/RevocationStateType.java b/pgpainless-core/src/main/java/org/pgpainless/algorithm/RevocationStateType.kt similarity index 68% rename from pgpainless-core/src/main/java/org/pgpainless/algorithm/RevocationStateType.java rename to pgpainless-core/src/main/java/org/pgpainless/algorithm/RevocationStateType.kt index d1757255..bf18e27f 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/algorithm/RevocationStateType.java +++ b/pgpainless-core/src/main/java/org/pgpainless/algorithm/RevocationStateType.kt @@ -1,11 +1,10 @@ -// SPDX-FileCopyrightText: 2022 Paul Schaub +// SPDX-FileCopyrightText: 2023 Paul Schaub // // SPDX-License-Identifier: Apache-2.0 -package org.pgpainless.algorithm; - -public enum RevocationStateType { +package org.pgpainless.algorithm +enum class RevocationStateType { /** * Certificate is not revoked. */ @@ -20,4 +19,4 @@ public enum RevocationStateType { * Certificate is revoked with a hard revocation. */ hardRevoked -} +} \ No newline at end of file