Skip to content

Commit 6044ba3

Browse files
author
salander85
committed
Formatting
1 parent 2b75c61 commit 6044ba3

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/main/java/com/commercetools/sync/services/impl/BaseService.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.commercetools.sync.services.impl;
22

33
import static com.commercetools.sync.commons.utils.CompletableFutureUtils.collectionOfFuturesToFutureOfCollection;
4-
import static com.commercetools.sync.commons.utils.CustomValueConverter.isValidTextNode;
54
import static java.lang.String.format;
65
import static java.util.stream.Collectors.toList;
76
import static org.apache.commons.lang3.StringUtils.isBlank;
@@ -28,7 +27,6 @@
2827
import io.vrap.rmf.base.client.Draft;
2928
import io.vrap.rmf.base.client.error.NotFoundException;
3029
import io.vrap.rmf.base.client.utils.json.JsonUtils;
31-
3230
import java.util.*;
3331
import java.util.concurrent.CompletableFuture;
3432
import java.util.concurrent.CompletionException;
@@ -142,10 +140,10 @@ public CompletionStage<Map<String, String>> cacheKeysToIdsUsingGraphQl(
142140
.thenApply(
143141
graphQlResults -> {
144142
graphQlResults.stream()
145-
.map(ApiHttpResponse::getBody)
146-
.filter(Objects::nonNull)
147-
.map(GraphQLResponse::getData)
148-
.filter(Objects::nonNull)
143+
.map(ApiHttpResponse::getBody)
144+
.filter(Objects::nonNull)
145+
.map(GraphQLResponse::getData)
146+
.filter(Objects::nonNull)
149147
.forEach(
150148
data -> {
151149
ObjectMapper objectMapper = JsonUtils.getConfiguredObjectMapper();

0 commit comments

Comments
 (0)