File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
src/test/kotlin/tools/jackson/module/kotlin/test/github Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,18 @@ import tools.jackson.module.kotlin.defaultMapper
77import tools.jackson.module.kotlin.readValue
88import kotlin.test.assertEquals
99
10- private class TestGithub56 {
11-
12- private data class TestGalleryWidget_BAD (
10+ class TestGithub56 {
11+ data class TestGalleryWidget_BAD (
1312 val widgetReferenceId : String ,
1413 @JsonUnwrapped var gallery : TestGallery
1514 )
1615
17- private data class TestGalleryWidget_GOOD (val widgetReferenceId : String ) {
16+ data class TestGalleryWidget_GOOD (val widgetReferenceId : String ) {
1817 @JsonUnwrapped lateinit var gallery: TestGallery
1918 }
2019
2120 @JsonInclude(JsonInclude .Include .NON_EMPTY )
22- private data class TestGallery (
21+ data class TestGallery (
2322 val id : String? = null ,
2423 val headline : String? = null ,
2524 val intro : String? = null ,
@@ -28,7 +27,7 @@ private class TestGithub56 {
2827 )
2928
3029 @JsonInclude(JsonInclude .Include .NON_EMPTY )
31- private data class TestImage (
30+ data class TestImage (
3231 val id : String? = null ,
3332 val escenicId : String? = null ,
3433 val caption : String? = null ,
You can’t perform that action at this time.
0 commit comments