Skip to content

Commit 19005b7

Browse files
committed
remove parallel streams
1 parent 42528b7 commit 19005b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/intuit/graphql/orchestrator/stitching/XtextStitcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public RuntimeGraph stitch(List<ServiceProvider> serviceProviders) {
108108
XtextGraph stitchedGraph = new XtextGraphFolder().fold(XtextGraph.emptyGraph(), xtextGraphMap.values());
109109

110110
//Service Metadata
111-
final Map<String, ServiceMetadata> serviceMetadataMap = xtextGraphMap.values().parallelStream()
111+
final Map<String, ServiceMetadata> serviceMetadataMap = xtextGraphMap.values().stream()
112112
.map(this::buildServiceMetadata)
113113
.collect(Collectors.toMap(metadata -> metadata.getServiceProvider().getNameSpace(), Function.identity()));
114114

0 commit comments

Comments
 (0)