Skip to content

Commit

Permalink
Fix copypasta error in casting
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Dec 6, 2024
1 parent 351b5a4 commit 5fa0d20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public GlobalMetadata transformGlobalMetadata(GlobalMetadata globalData) {

var transformedLegacy = transformedTemplates.stream()
.filter(LegacyTemplate.class::isInstance)
.map(IndexTemplate.class::cast)
.map(LegacyTemplate.class::cast)
.collect(Collectors.toList());

var transformedIndex = transformedTemplates.stream()
Expand Down

0 comments on commit 5fa0d20

Please sign in to comment.