Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
libraries
Mapper Service Configuration
Commits
ab480e9a
Commit
ab480e9a
authored
Feb 15, 2021
by
Jonas Waeber
Browse files
Fix >= to <=.
parent
ec596a8e
Pipeline
#21781
passed with stage
in 2 minutes and 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main/kotlin/mapping/mappers/TypeFieldMapper.kt
View file @
ab480e9a
...
...
@@ -55,7 +55,7 @@ abstract class TypeFieldMapper : AbstractFieldMapper() {
is
StringList
->
sourceElement
.
value
.
forEachIndexed
{
index
,
s
->
if
(
s
.
isNotEmpty
())
{
if
(
properties
.
size
>
=
index
+
1
)
{
if
(
properties
.
size
<
=
index
+
1
)
{
properties
[
index
].
add
(
Pair
(
field
.
key
,
field
.
toLiteral
(
s
)))
}
else
{
properties
.
add
(
index
,
mutableListOf
(
Pair
(
field
.
key
,
field
.
toLiteral
(
s
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment