Use data object for RecommendedServerIssue.MissingVersion

This commit is contained in:
Niels van Velzen 2024-05-12 22:01:43 +02:00 committed by Niels van Velzen
parent 1505161666
commit e710e573ea
3 changed files with 5 additions and 1 deletions

View File

@ -212,6 +212,8 @@ public final class org/jellyfin/sdk/discovery/RecommendedServerIssue$MissingSyst
public final class org/jellyfin/sdk/discovery/RecommendedServerIssue$MissingVersion : org/jellyfin/sdk/discovery/RecommendedServerIssue {
public static final field INSTANCE Lorg/jellyfin/sdk/discovery/RecommendedServerIssue$MissingVersion;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

View File

@ -204,6 +204,8 @@ public final class org/jellyfin/sdk/discovery/RecommendedServerIssue$MissingSyst
public final class org/jellyfin/sdk/discovery/RecommendedServerIssue$MissingVersion : org/jellyfin/sdk/discovery/RecommendedServerIssue {
public static final field INSTANCE Lorg/jellyfin/sdk/discovery/RecommendedServerIssue$MissingVersion;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

View File

@ -31,7 +31,7 @@ public sealed interface RecommendedServerIssue {
/**
* No version found in system information.
*/
public object MissingVersion : RecommendedServerIssue {
public data object MissingVersion : RecommendedServerIssue {
override fun toString(): String = this::class.simpleName!!
}