Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan-Kim committed Dec 27, 2024
1 parent b52c160 commit 407cf68
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ sealed class GBValue {
jsonElement.floatOrNull != null -> GBNumber(jsonElement.float)
jsonElement.doubleOrNull != null -> GBNumber(jsonElement.double)
jsonElement.booleanOrNull != null -> GBBoolean(jsonElement.boolean)
else -> GBValue.Unknown
else -> Unknown
}
}
is JsonObject -> GBJson(jsonElement)
else -> GBValue.Unknown
else -> Unknown
}
}
}
Expand All @@ -86,11 +86,7 @@ data class GBFeature(
* Array of Rule objects that determine when and how the defaultValue gets overridden
*/
val rules: List<GBFeatureRule>? = null
) {
companion object {

}
}
)

internal fun GBFeature.gbSerialize() =
SerializableGBFeature(
Expand Down

0 comments on commit 407cf68

Please sign in to comment.