diff --git a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/aws/AwsJson10ProtocolGenerator.java b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/aws/AwsJson10ProtocolGenerator.java index 3d97314c..1edc8ce0 100644 --- a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/aws/AwsJson10ProtocolGenerator.java +++ b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/aws/AwsJson10ProtocolGenerator.java @@ -71,7 +71,7 @@ public void generateSharedSerializers(GenerationContext context, GoWriter writer @Override public void generateResponseDeserializers(GenerationContext context) { - GoWriter writer = context.getWriter().get(); + var writer = context.getWriter().get(); var model = context.getModel(); var ops = model.getOperationShapes(); for (var op : ops) {