Skip to content

Commit

Permalink
Replace data classes with simple classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsnappy1 committed Nov 24, 2024
1 parent 64a593d commit f6f30f4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package dev.randos.resourcemanager.model
* @property current The original content of the line before the change.
* @property updated The new content of the line after the change.
*/
internal data class Change(
internal class Change(
val lineNumber: Int,
val current: String,
val updated: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import java.io.File
* Default value is an empty string if not provided.
* @property resourceFiles The list of resource files, usually in the module's `src/main/res` path.
*/
internal data class ModuleDetails(
internal class ModuleDetails(
val moduleName: String = "",
val namespace: String = "",
val resourceFiles: Array<File>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package dev.randos.resourcemanager.model
* @see [ResourceType]
* @see [ModuleDetails]
*/
internal data class Resource(
internal class Resource(
val type: ResourceType,
val moduleDetails: ModuleDetails
)
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package dev.randos.resourcemanager.model
* @property changes A list of changes made to this file, where each change includes details such as
* the line number, original content, and updated content.
*/
internal data class SourceFileDetails(
internal class SourceFileDetails(
val name: String,
val path: String,
val changes: List<Change>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package dev.randos.resourcemanager.model
* @property type The type of the resource
* @see [ValueResourceType]
*/
internal data class ValueResource(
internal class ValueResource(
val name: String,
val type: ValueResourceType
)

0 comments on commit f6f30f4

Please sign in to comment.