File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
codegen/src/main/java/software/amazon/awssdk/codegen/poet/client Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 43
43
import software .amazon .awssdk .codegen .model .intermediate .IntermediateModel ;
44
44
import software .amazon .awssdk .codegen .model .intermediate .OperationModel ;
45
45
import software .amazon .awssdk .codegen .model .intermediate .Protocol ;
46
- import software .amazon .awssdk .codegen .poet .ClassSpec ;
47
46
import software .amazon .awssdk .codegen .poet .PoetExtension ;
48
47
import software .amazon .awssdk .codegen .poet .PoetUtils ;
49
48
import software .amazon .awssdk .codegen .poet .client .specs .Ec2ProtocolSpec ;
64
63
import software .amazon .awssdk .metrics .NoOpMetricCollector ;
65
64
import software .amazon .awssdk .utils .Logger ;
66
65
67
- //TODO Make SyncClientClass extend SyncClientInterface (similar to what we do in AsyncClientClass)
68
- public class SyncClientClass implements ClassSpec {
66
+ public class SyncClientClass extends SyncClientInterface {
69
67
70
68
private final IntermediateModel model ;
71
69
private final PoetExtension poetExtensions ;
72
70
private final ClassName className ;
73
71
private final ProtocolSpec protocolSpec ;
74
72
75
73
public SyncClientClass (GeneratorTaskParams taskParams ) {
74
+ super (taskParams .getModel ());
76
75
this .model = taskParams .getModel ();
77
76
this .poetExtensions = taskParams .getPoetExtensions ();
78
77
this .className = poetExtensions .getClientClass (model .getMetadata ().getSyncClient ());
Original file line number Diff line number Diff line change 62
62
import software .amazon .awssdk .regions .ServiceMetadataProvider ;
63
63
import software .amazon .awssdk .regions .providers .DefaultAwsRegionProviderChain ;
64
64
65
- public final class SyncClientInterface implements ClassSpec {
65
+ public class SyncClientInterface implements ClassSpec {
66
66
67
67
private final IntermediateModel model ;
68
68
private final ClassName className ;
You can’t perform that action at this time.
0 commit comments