Skip to content

Commit

Permalink
Remove unnecessary serialization annotations
Browse files Browse the repository at this point in the history
The @serializable and @SerialName("gradle") annotations were removed from PackageSearchGradleModule as they are not required. This change simplifies the class definition and reduces potential confusion with serialization.
  • Loading branch information
fscarponi committed Oct 24, 2024
1 parent 035dacd commit 10e12bc
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@ import kotlin.io.path.createParentDirectories
import kotlin.io.path.exists
import kotlin.io.path.extension
import kotlin.io.path.writeText
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import org.jetbrains.packagesearch.api.v3.ApiPackage
import org.jetbrains.packagesearch.api.v3.ApiRepository
import org.jetbrains.packagesearch.api.v3.search.PackagesType

@Serializable
@SerialName("gradle")
data class PackageSearchGradleModule(
override val name: String,
override val identity: PackageSearchModule.Identity,
Expand Down

0 comments on commit 10e12bc

Please sign in to comment.