Skip to content

Commit

Permalink
Update SourceCodeGenerator.java with consistent collectors
Browse files Browse the repository at this point in the history
  • Loading branch information
ascopes authored Feb 18, 2024
1 parent d5c8b90 commit d9c326d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public boolean generate(GenerationRequest request) throws ResolutionException, I
.importPaths(importPaths
.stream()
.map(ProtoFileListing::getProtoFilesRoot)
.collect(Collectors.toUnmodifiableSet()))
.collect(Collectors.toSet()))
.importPaths(request.getSourceRoots())
.plugins(plugins, request.getOutputDirectory());

Expand Down

0 comments on commit d9c326d

Please sign in to comment.