Skip to content

Commit 592cb32

Browse files
committed
awsGH-72: Fix license headers and remove extra spaces
1 parent 8fed235 commit 592cb32

21 files changed

+149
-38
lines changed

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/APIGatewayProxyRequestEvent.java

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
13+
114
package com.amazonaws.services.lambda.runtime.events;
215

316
import java.io.Serializable;
@@ -1118,7 +1131,7 @@ public APIGatewayProxyRequestEvent withIsBase64Encoded(Boolean isBase64Encoded)
11181131
this.setIsBase64Encoded(isBase64Encoded);
11191132
return this;
11201133
}
1121-
1134+
11221135
/**
11231136
* Returns a string representation of this object; useful for testing and debugging.
11241137
*

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/APIGatewayProxyResponseEvent.java

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
13+
114
package com.amazonaws.services.lambda.runtime.events;
215

316
import java.io.Serializable;
@@ -9,11 +22,11 @@
922
public class APIGatewayProxyResponseEvent implements Serializable, Cloneable {
1023

1124
private static final long serialVersionUID = 2263167344670024172L;
12-
25+
1326
private Integer statusCode;
1427

1528
private Map<String, String> headers;
16-
29+
1730
private String body;
1831

1932
/**

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/CloudFrontEvent.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
13+
114
package com.amazonaws.services.lambda.runtime.events;
215

316
import java.io.Serializable;

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/CloudWatchLogsEvent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/CodeCommitEvent.java

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
113
package com.amazonaws.services.lambda.runtime.events;
214

315
import java.io.Serializable;

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/CognitoEvent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/ConfigEvent.java

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at
@@ -71,7 +71,7 @@ public ConfigEvent withVersion(String version) {
7171
setVersion(version);
7272
return this;
7373
}
74-
74+
7575
/**
7676
* Gets the JSON-encoded notification published by AWS Config.
7777
*
@@ -96,7 +96,7 @@ public ConfigEvent withInvokingEvent(String invokingEvent) {
9696
setInvokingEvent(invokingEvent);
9797
return this;
9898
}
99-
99+
100100
/**
101101
* Gets the JSON-encoded map containing the AWS Config rule parameters.
102102
*
@@ -121,7 +121,7 @@ public ConfigEvent withRuleParameters(String ruleParameters) {
121121
setRuleParameters(ruleParameters);
122122
return this;
123123
}
124-
124+
125125
/**
126126
* Gets the token associated with the invocation of the AWS Config rule's Lambda function.
127127
*
@@ -146,7 +146,7 @@ public ConfigEvent withResultToken(String resultToken) {
146146
setResultToken(resultToken);
147147
return this;
148148
}
149-
149+
150150
/**
151151
* Gets the ARN of the AWS Config rule that triggered the event.
152152
*
@@ -171,7 +171,7 @@ public ConfigEvent withConfigRuleArn(String configRuleArn) {
171171
setConfigRuleArn(configRuleArn);
172172
return this;
173173
}
174-
174+
175175
/**
176176
* Gets the ID of the AWS Config rule that triggered the event.
177177
*
@@ -196,7 +196,7 @@ public ConfigEvent withConfigRuleId(String configRuleId) {
196196
setConfigRuleId(configRuleId);
197197
return this;
198198
}
199-
199+
200200
/**
201201
* Gets the name of the AWS Config rule that triggered the event.
202202
*
@@ -221,7 +221,7 @@ public ConfigEvent withConfigRuleName(String configRuleName) {
221221
setConfigRuleName(configRuleName);
222222
return this;
223223
}
224-
224+
225225
/**
226226
* Gets the account ID of the AWS Config rule that triggered the event.
227227
*
@@ -246,7 +246,7 @@ public ConfigEvent withAccountId(String accountId) {
246246
setAccountId(accountId);
247247
return this;
248248
}
249-
249+
250250
/**
251251
* Gets the ARN of the IAM role that is assigned to AWS Config.
252252
*
@@ -271,7 +271,7 @@ public ConfigEvent withExecutionRoleArn(String executionRoleArn) {
271271
setExecutionRoleArn(executionRoleArn);
272272
return this;
273273
}
274-
274+
275275
/**
276276
* Whether the AWS resource to be evaluated has been removed from the AWS Config rule's scope.
277277
*

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/DynamodbEvent.java

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
/* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
1+
/*
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
213

314
package com.amazonaws.services.lambda.runtime.events;
415

@@ -212,5 +223,5 @@ public DynamodbEvent clone() {
212223
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone()", e);
213224
}
214225
}
215-
226+
216227
}

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/IoTButtonEvent.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
13+
114
package com.amazonaws.services.lambda.runtime.events;
215

316
import java.io.Serializable;

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/KinesisAnalyticsFirehoseInputPreprocessingEvent.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at
@@ -10,6 +10,7 @@
1010
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
1111
* and limitations under the License.
1212
*/
13+
1314
package com.amazonaws.services.lambda.runtime.events;
1415

1516
import java.io.Serializable;

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/KinesisAnalyticsInputPreprocessingResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/KinesisAnalyticsOutputDeliveryEvent.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at
@@ -10,6 +10,7 @@
1010
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
1111
* and limitations under the License.
1212
*/
13+
1314
package com.amazonaws.services.lambda.runtime.events;
1415

1516
import java.io.Serializable;

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/KinesisAnalyticsOutputDeliveryResponse.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at
@@ -10,6 +10,7 @@
1010
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
1111
* and limitations under the License.
1212
*/
13+
1314
package com.amazonaws.services.lambda.runtime.events;
1415

1516
import java.io.Serializable;

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/KinesisAnalyticsStreamsInputPreprocessingEvent.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at
@@ -10,6 +10,7 @@
1010
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
1111
* and limitations under the License.
1212
*/
13+
1314
package com.amazonaws.services.lambda.runtime.events;
1415

1516
import java.io.Serializable;

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/KinesisEvent.java

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
/* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
1+
/*
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
213

314
package com.amazonaws.services.lambda.runtime.events;
415
import java.io.Serializable;
@@ -124,7 +135,7 @@ public Record clone() {
124135
return (Record) super.clone();
125136
}
126137
}
127-
138+
128139
/**
129140
* Kinesis event records provide contextual data about a Kinesis record
130141
*

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/KinesisFirehoseEvent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/LexEvent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/S3Event.java

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
/* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
1+
/*
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
213

314
package com.amazonaws.services.lambda.runtime.events;
415

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/SNSEvent.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
55
* the License. A copy of the License is located at
@@ -10,6 +10,7 @@
1010
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
1111
* and limitations under the License.
1212
*/
13+
1314
package com.amazonaws.services.lambda.runtime.events;
1415

1516
import java.io.Serializable;

aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/SQSEvent.java

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
/*
2-
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5+
* the License. A copy of the License is located at
6+
*
7+
* http://aws.amazon.com/apache2.0
8+
*
9+
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
312
*/
413

514
package com.amazonaws.services.lambda.runtime.events;

0 commit comments

Comments
 (0)