Skip to content

Commit c83c380

Browse files
author
Chase Coalwell
committed
Remove redundant var and block
1 parent fbf10ac commit c83c380

File tree

1 file changed

+0
-5
lines changed
  • smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen

1 file changed

+0
-5
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/CodegenVisitor.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ class CodegenVisitor extends ShapeVisitor.Default<Void> {
131131
applicationProtocol = protocolGenerator == null
132132
? ApplicationProtocol.createDefaultHttpApplicationProtocol()
133133
: protocolGenerator.getApplicationProtocol();
134-
135134
// Make the symbol provider a cachingSymbolProvider.
136135
SymbolProvider cachedProvider = SymbolProvider.cache(resolvedProvider);
137136
// Defining Definitions for TraceFile Generation.
@@ -417,10 +416,6 @@ private void generateClient(ServiceShape shape) {
417416
boolean hasPaginatedOperation = false;
418417

419418
for (OperationShape operation : containedOperations) {
420-
OperationShape finalOperation = operation;
421-
writers.useShapeWriter(operation, commandWriter -> new CommandGenerator(
422-
settings, model, finalOperation, symbolProvider, commandWriter,
423-
runtimePlugins, protocolGenerator, applicationProtocol).run());
424419
if (operation.hasTrait(PaginatedTrait.ID)) {
425420
hasPaginatedOperation = true;
426421
String outputFilename = PaginationGenerator.getOutputFilelocation(operation);

0 commit comments

Comments
 (0)