We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c1fa02 commit 2f58ca5Copy full SHA for 2f58ca5
src/main/kotlin/com/lambda/config/Setting.kt
@@ -94,7 +94,7 @@ import kotlin.reflect.KProperty
94
* @property type The type reflection of the setting.
95
* @property visibility A function that determines whether the setting is visible.
96
*/
97
-abstract class SettingCore<T : Any>(
+abstract class SettingCore<T>(
98
var defaultValue: T,
99
val type: Type
100
) {
@@ -150,7 +150,7 @@ abstract class SettingCore<T : Any>(
150
}
151
152
153
-class Setting<T : SettingCore<R>, R : Any>(
+class Setting<T : SettingCore<R>, R>(
154
override val name: String,
155
override val description: String,
156
var core: T,
0 commit comments