Skip to content

Commit

Permalink
auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rishav-karanjit committed Jan 7, 2025
1 parent ee9db10 commit 79e6809
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ private void generateErrorSerializer(final GenerationContext context) {
final var errorShapes = awsNormalizedModel.getShapesWithTrait(
ErrorTrait.class
).stream()
.sorted(Comparator.comparing(shape -> shape.getId().getName())).collect(Collectors.toCollection(LinkedHashSet::new));;
.sorted(Comparator.comparing(shape -> shape.getId().getName())).collect(Collectors.toCollection(LinkedHashSet::new));

for (final var errorShape : errorShapes) {
if (
Expand Down Expand Up @@ -639,7 +639,8 @@ private void generateErrorDeserializer(final GenerationContext context) {
final Set<ShapeId> alreadyVisited = new HashSet<>();
final var errorShapes = awsNormalizedModel.getShapesWithTrait(
ErrorTrait.class
);
).stream()
.sorted(Comparator.comparing(shape -> shape.getId().getName())).collect(Collectors.toCollection(LinkedHashSet::new));
for (final var errorShape : errorShapes) {
if (
!errorShape
Expand Down

0 comments on commit 79e6809

Please sign in to comment.