File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
core-database/src/main/kotlin/com/skydoves/pokedex/core/database/entitiy/mapper Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" utf-8" ?><!--
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
2
3
Designed and developed by 2022 skydoves (Jaewoong Eum)
3
4
4
5
Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change @@ -46,6 +46,6 @@ fun List<Pokemon>.asEntity(): List<PokemonEntity> {
46
46
return PokemonEntityMapper .asEntity(this )
47
47
}
48
48
49
- fun List<PokemonEntity>.asDomain (): List <Pokemon > {
50
- return PokemonEntityMapper .asDomain(this )
49
+ fun List<PokemonEntity>? .asDomain (): List <Pokemon > {
50
+ return PokemonEntityMapper .asDomain(this .orEmpty() )
51
51
}
Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ baselineProfiles = "1.3.1"
32
32
macroBenchmark = " 1.2.0-beta02"
33
33
uiAutomator = " 2.3.0-alpha04"
34
34
truth = " 1.1.3"
35
- junit = " 4.13.1 "
35
+ junit = " 4.13.2 "
36
36
turbine = " 0.13.0"
37
- robolectric = " 4.4 "
38
- androidxTest = " 1.3 .0"
39
- androidxTestJunit = " 1.1.2 "
37
+ robolectric = " 4.10 "
38
+ androidxTest = " 1.5 .0"
39
+ androidxTestJunit = " 1.1.5 "
40
40
androidTestRunner = " 1.3.0-beta01"
41
- espresso = " 3.3.0 "
41
+ espresso = " 3.5.1 "
42
42
mockitoKotlin = " 2.2.0"
43
- mockitoInline = " 3.5.13 "
43
+ mockitoInline = " 3.12.4 "
44
44
spotless = " 6.7.2"
45
45
46
46
[plugins ]
You can’t perform that action at this time.
0 commit comments