File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
model/src/main/kotlin/config Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 19
19
20
20
package org.ossreviewtoolkit.model.config
21
21
22
- import java.util.SortedSet
22
+ import com.fasterxml.jackson.databind.annotation.JsonSerialize
23
+
24
+ import org.ossreviewtoolkit.utils.common.StringSortedSetConverter
23
25
24
26
/* *
25
27
* A class that defines which Copyright statements are to be considered as garbage instead of real findings.
@@ -28,7 +30,8 @@ data class CopyrightGarbage(
28
30
/* *
29
31
* A set of literal strings that identify garbage Copyright findings.
30
32
*/
31
- val items : SortedSet <String > = sortedSetOf()
33
+ @JsonSerialize(converter = StringSortedSetConverter ::class )
34
+ val items : Set <String > = emptySet()
32
35
)
33
36
34
37
fun CopyrightGarbage?.orEmpty (): CopyrightGarbage = this ? : CopyrightGarbage ()
You can’t perform that action at this time.
0 commit comments