Skip to content

Commit

Permalink
LPD-25471 remove line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-ale-sbarra committed May 23, 2024
1 parent f7edb89 commit 469d69c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ public static JSONArray toJSONArray(
).put(
"skuOptionValueNames",
JSONFactoryUtil.createJSONArray(
Collections.singletonList(value.get(1)))
Collections.singletonList(value.get(2)))
).put(
"value",
JSONFactoryUtil.createJSONArray(
Collections.singletonList(value.get(2)))
Collections.singletonList(value.get(1)))
));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
import java.math.BigDecimal;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
Expand Down Expand Up @@ -664,13 +665,11 @@ else if (Validator.isNotNull(
cpDefinitionOptionValueRelKeys.add(
cpDefinitionOptionRel.getName(
cpDefinitionOptionRel.getDefaultLanguageId()));

cpDefinitionOptionValueRelKeys.add(
cpDefinitionOptionValueRel.getKey());
cpDefinitionOptionValueRelKeys.add(
cpDefinitionOptionValueRel.getName(
cpDefinitionOptionRel.getDefaultLanguageId()));

cpDefinitionOptionValueRelKeys.add(
cpDefinitionOptionValueRel.getKey());
}

return cpDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys;
Expand Down

0 comments on commit 469d69c

Please sign in to comment.