Skip to content

Commit 1f4c4fa

Browse files
authored
chore: rename away more _ identifiers (#25481)
`_` identifiers cause a problem with Java compilation. Remove them. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent d14c8d9 commit 1f4c4fa

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: packages/@aws-cdk/aws-apigatewayv2-alpha/lib/http/authorizer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function undefinedIfNoKeys<A extends { [key: string]: unknown }>(obj: A): A | un
257257
* Explicitly configure no authorizers on specific HTTP API routes.
258258
*/
259259
export class HttpNoneAuthorizer implements IHttpRouteAuthorizer {
260-
public bind(_: HttpRouteAuthorizerBindOptions): HttpRouteAuthorizerConfig {
260+
public bind(_options: HttpRouteAuthorizerBindOptions): HttpRouteAuthorizerConfig {
261261
return {
262262
authorizationType: 'NONE',
263263
};

Diff for: packages/@aws-cdk/aws-apigatewayv2-alpha/lib/websocket/authorizer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export interface IWebSocketRouteAuthorizer {
170170
* Explicitly configure no authorizers on specific WebSocket API routes.
171171
*/
172172
export class WebSocketNoneAuthorizer implements IWebSocketRouteAuthorizer {
173-
public bind(_: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig {
173+
public bind(_options: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig {
174174
return {
175175
authorizationType: 'NONE',
176176
};

Diff for: packages/@aws-cdk/aws-apigatewayv2-integrations-alpha/lib/http/http-proxy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class HttpUrlIntegration extends HttpRouteIntegration {
3939
super(id);
4040
}
4141

42-
public bind(_: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig {
42+
public bind(_options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig {
4343
return {
4444
method: this.props.method ?? HttpMethod.ANY,
4545
payloadFormatVersion: PayloadFormatVersion.VERSION_1_0, // 1.0 is required and is the only supported format

Diff for: packages/@aws-cdk/aws-apigatewayv2-integrations-alpha/lib/http/lambda.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class HttpLambdaIntegration extends HttpRouteIntegration {
6363
});
6464
}
6565

66-
public bind(_: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig {
66+
public bind(_options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig {
6767
return {
6868
type: HttpIntegrationType.AWS_PROXY,
6969
uri: this.handler.functionArn,

Diff for: packages/@aws-cdk/aws-apigatewayv2-integrations-alpha/lib/http/service-discovery.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class HttpServiceDiscoveryIntegration extends HttpPrivateIntegration {
2626
super(id);
2727
}
2828

29-
public bind(_: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig {
29+
public bind(_options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig {
3030
if (!this.props.vpcLink) {
3131
throw new Error('The vpcLink property is mandatory');
3232
}

0 commit comments

Comments
 (0)