Skip to content

Commit f0a0b95

Browse files
committed
chore: address checkstyle violations
1 parent d2b22bb commit f0a0b95

File tree

1 file changed

+8
-8
lines changed
  • codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen

1 file changed

+8
-8
lines changed

codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddSqsDependency.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import software.amazon.smithy.utils.SmithyInternalApi;
3737

3838
/**
39-
* Adds SQS customization
39+
* Adds SQS customization.
4040
*/
4141
@SmithyInternalApi
4242
public class AddSqsDependency implements TypeScriptIntegration {
@@ -47,17 +47,17 @@ public List<RuntimeClientPlugin> getClientPlugins() {
4747
RuntimeClientPlugin.builder()
4848
.withConventions(AwsDependency.SQS_MIDDLEWARE.dependency, "SendMessage",
4949
HAS_MIDDLEWARE)
50-
.operationPredicate((m, s, o) -> o.getId().getName(s).equals("SendMessage") && isSQS(s))
50+
.operationPredicate((m, s, o) -> o.getId().getName(s).equals("SendMessage") && isSqs(s))
5151
.build(),
5252
RuntimeClientPlugin.builder()
5353
.withConventions(AwsDependency.SQS_MIDDLEWARE.dependency, "SendMessageBatch",
5454
HAS_MIDDLEWARE)
55-
.operationPredicate((m, s, o) -> o.getId().getName(s).equals("SendMessageBatch") && isSQS(s))
55+
.operationPredicate((m, s, o) -> o.getId().getName(s).equals("SendMessageBatch") && isSqs(s))
5656
.build(),
5757
RuntimeClientPlugin.builder()
5858
.withConventions(AwsDependency.SQS_MIDDLEWARE.dependency, "ReceiveMessage",
5959
HAS_MIDDLEWARE)
60-
.operationPredicate((m, s, o) -> o.getId().getName(s).equals("ReceiveMessage") && isSQS(s))
60+
.operationPredicate((m, s, o) -> o.getId().getName(s).equals("ReceiveMessage") && isSqs(s))
6161
.build()
6262
);
6363
}
@@ -69,7 +69,7 @@ public void addConfigInterfaceFields(
6969
SymbolProvider symbolProvider,
7070
TypeScriptWriter writer
7171
) {
72-
if (!isSQS(settings.getService(model))) {
72+
if (!isSqs(settings.getService(model))) {
7373
return;
7474
}
7575

@@ -87,7 +87,7 @@ public Map<String, Consumer<TypeScriptWriter>> getRuntimeConfigWriters(
8787
SymbolProvider symbolProvider,
8888
LanguageTarget target
8989
) {
90-
if (!isSQS(settings.getService(model))) {
90+
if (!isSqs(settings.getService(model))) {
9191
return Collections.emptyMap();
9292
}
9393

@@ -110,7 +110,7 @@ public Map<String, Consumer<TypeScriptWriter>> getRuntimeConfigWriters(
110110
}
111111
}
112112

113-
private static boolean isSQS(ServiceShape service) {
113+
private static boolean isSqs(ServiceShape service) {
114114
return service.getTrait(ServiceTrait.class).map(ServiceTrait::getSdkId).orElse("").equals("SQS");
115115
}
116-
}
116+
}

0 commit comments

Comments
 (0)