Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed May 1, 2024
1 parent 3b18d3d commit 39acd99
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,13 @@ public class ClientGenerator extends RubyGeneratorBase {
private final Set<OperationShape> operations;
private final Set<RubyRuntimePlugin> runtimePlugins;
private final List<ClientConfig> clientConfigList;
private boolean hasOutputStreamingOperation = false;

public ClientGenerator(GenerateServiceDirective<GenerationContext, RubySettings> directive,
List<ClientConfig> clientConfigList) {
super(directive);
this.operations = directive.operations();
this.runtimePlugins = context.getRuntimePlugins();
this.clientConfigList = clientConfigList;

operations.forEach(operation -> {
Shape outputShape = model.expectShape(operation.getOutputShape());
if (Streaming.isStreaming(model, outputShape)) {
hasOutputStreamingOperation = true;
}
});
}

@Override
Expand Down

0 comments on commit 39acd99

Please sign in to comment.