Skip to content

Commit a380a2f

Browse files
committed
Updates
1 parent d6ff088 commit a380a2f

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AsyncClientGeneratorTasks.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import java.io.IOException;
1919
import java.util.ArrayList;
20-
import java.util.Arrays;
2120
import java.util.List;
2221
import software.amazon.awssdk.codegen.emitters.GeneratorTask;
2322
import software.amazon.awssdk.codegen.emitters.GeneratorTaskParams;

codegen/src/main/java/software/amazon/awssdk/codegen/model/intermediate/EndpointDiscovery.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15+
1516
package software.amazon.awssdk.codegen.model.intermediate;
1617

1718
public class EndpointDiscovery {

codegen/src/main/java/software/amazon/awssdk/codegen/model/intermediate/IntermediateModel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public IntermediateModel(
7272
@JsonProperty("customizationConfig") CustomizationConfig customizationConfig,
7373
@JsonProperty("serviceExamples") ServiceExamples examples) {
7474

75-
this(metadata, operations, shapes, customizationConfig, examples, null, Collections.emptyMap(), Collections.emptyMap(), null);
75+
this(metadata, operations, shapes, customizationConfig, examples, null,
76+
Collections.emptyMap(), Collections.emptyMap(), null);
7677
}
7778

7879
public IntermediateModel(

codegen/src/main/java/software/amazon/awssdk/codegen/poet/endpointdiscovery/EndpointDiscoveryAsyncCacheLoaderGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15+
1516
package software.amazon.awssdk.codegen.poet.endpointdiscovery;
1617

1718
import static javax.lang.model.element.Modifier.FINAL;
@@ -64,7 +65,7 @@ public TypeSpec poetSpec() {
6465
.build())
6566
.addMethod(constructor())
6667
.addMethod(create())
67-
.addMethod(discoverEndpoint(model.getEndpointOperation()))
68+
.addMethod(discoverEndpoint(model.getEndpointOperation().get()))
6869
.build();
6970
}
7071

codegen/src/main/java/software/amazon/awssdk/codegen/poet/endpointdiscovery/EndpointDiscoveryCacheLoaderGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15+
1516
package software.amazon.awssdk.codegen.poet.endpointdiscovery;
1617

1718
import static javax.lang.model.element.Modifier.FINAL;
@@ -64,7 +65,7 @@ public TypeSpec poetSpec() {
6465
.build())
6566
.addMethod(constructor())
6667
.addMethod(create())
67-
.addMethod(discoverEndpoint(model.getEndpointOperation()))
68+
.addMethod(discoverEndpoint(model.getEndpointOperation().get()))
6869
.build();
6970
}
7071

0 commit comments

Comments
 (0)