Skip to content

Commit e2caae0

Browse files
committed
Add missing @OverRide.
1 parent 0c31061 commit e2caae0

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

powertools-cloudformation/src/test/java/software/amazon/lambda/powertools/cloudformation/ExpectedStatusResourceHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public ExpectedStatusResourceHandler(Status expectedStatus) {
3636
this.expectedStatus = expectedStatus;
3737
}
3838

39+
@Override
3940
CloudFormationResponse buildResponseClient() {
4041
// create a CloudFormationResponse that fails if invoked with unexpected status
4142
CloudFormationResponse cfnResponse = mock(CloudFormationResponse.class);

powertools-cloudformation/src/test/java/software/amazon/lambda/powertools/cloudformation/FailToSendResponseHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* Always fails to send the response
2525
*/
2626
public class FailToSendResponseHandler extends NoOpCustomResourceHandler {
27+
@Override
2728
CloudFormationResponse buildResponseClient() {
2829
CloudFormationResponse cfnResponse = mock(CloudFormationResponse.class);
2930
try {

powertools-cloudformation/src/test/java/software/amazon/lambda/powertools/cloudformation/NoOpCustomResourceHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public NoOpCustomResourceHandler() {
2727
super(mock(SdkHttpClient.class));
2828
}
2929

30+
@Override
3031
CloudFormationResponse buildResponseClient() {
3132
return mock(CloudFormationResponse.class);
3233
}

0 commit comments

Comments
 (0)