From c4f4f47c5dd2fcd4d46cbfccd3420a47168bff88 Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Tue, 7 May 2024 14:18:57 +0530 Subject: [PATCH] fix: pr comments --- .../annotations/ConfigDescription.java | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/main/java/io/supertokens/pluginInterface/annotations/ConfigDescription.java diff --git a/src/main/java/io/supertokens/pluginInterface/annotations/ConfigDescription.java b/src/main/java/io/supertokens/pluginInterface/annotations/ConfigDescription.java deleted file mode 100644 index 160b583c..00000000 --- a/src/main/java/io/supertokens/pluginInterface/annotations/ConfigDescription.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2024, VRAI Labs and/or its affiliates. All rights reserved. - * - * This software is licensed under the Apache License, Version 2.0 (the - * "License") as published by the Apache Software Foundation. - * - * You may not use this file except in compliance with the License. You may - * obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ - - package io.supertokens.pluginInterface.annotations; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * Annotation to provide a description for a configuration fields. To be used on the fields of `CoreConfig` and config - * class in the plugin like `PostgreSQLConfig`, `MysqlConfig`, etc. - */ -@Retention(RetentionPolicy.RUNTIME) // Make annotation accessible at runtime so that config descriptions can be read from API -@Target(ElementType.FIELD) // Annotation can only be applied to fields -public @interface ConfigDescription { - String value(); // String value that provides a description for the configuration field -}