Skip to content

Commit de7b1ee

Browse files
authored
Tools: Normalize & enforce SPDX headers (#5811)
1 parent e6bb723 commit de7b1ee

File tree

5,489 files changed

+72326
-104681
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,489 files changed

+72326
-104681
lines changed

.dotnet/example_code/DynamoDB/CreateTablesLoadData.cs

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
1-
// snippet-sourcedescription:[ ]
2-
// snippet-service:[dynamodb]
3-
// snippet-keyword:[dotNET]
4-
// snippet-keyword:[Amazon DynamoDB]
5-
// snippet-keyword:[Code Sample]
6-
// snippet-keyword:[ ]
7-
// snippet-sourcetype:[full-example]
8-
// snippet-sourcedate:[ ]
9-
// snippet-sourceauthor:[AWS]
10-
// snippet-start:[dynamodb.dotNET.CodeExample.CreateTablesLoadData]
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
113

12-
/**
13-
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* This file is licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License. A copy of
17-
* the License is located at
18-
*
19-
* http://aws.amazon.com/apache2.0/
20-
*
21-
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
22-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
23-
* specific language governing permissions and limitations under the License.
24-
*/
4+
// snippet-start:[dynamodb.dotNET.CodeExample.CreateTablesLoadData]
255
using System;
266
using System.Collections.Generic;
277
using Amazon.DynamoDBv2;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/00_Main.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.00_Main]
135
using System;
146
using System.Collections.Generic;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/00a_Constants.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.00a_Constants]
135
using System.Collections.Generic;
146
using Amazon.DynamoDBv2.Model;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/00b_DDB_Attributes.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.00b_DDB_Attributes]
135
using System;
146
using System.Text;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/01_CreateClient.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.01_CreateClient]
135
using System;
146
using System.Net;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/02_CreatingTable.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.02_CreatingTable]
135
using System;
146
using System.Collections.Generic;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/03_LoadingData.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.03_LoadingData]
135
using System;
146
using System.IO;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/04_WritingNewItem.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.04_WritingNewItem]
135
using System;
146
using System.Threading.Tasks;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/05_ReadingItem.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.05_ReadingItem]
135
using System;
146
using System.Threading.Tasks;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/06_UpdatingItem.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.06_UpdatingItem]
135
using System;
146
using System.Threading.Tasks;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/07_DeletingItem.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.07_DeletingItem]
135
using System;
146
using System.Threading.Tasks;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/08_Querying.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.08_Querying]
135
using System;
146
using System.Threading.Tasks;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/09_Scanning.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.09_Scanning]
135
using System;
146
using System.Collections.Generic;

.dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/10_DeletingTable.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
// SPDX - License - Identifier: Apache - 2.0
3-
// snippet-sourcedescription:[ ]
4-
// snippet-service:[dynamodb]
5-
// snippet-keyword:[dotNET]
6-
// snippet-keyword:[Amazon DynamoDB]
7-
// snippet-keyword:[Code Sample]
8-
// snippet-keyword:[ ]
9-
// snippet-sourcetype:[full-example]
10-
// snippet-sourcedate:[ ]
11-
// snippet-sourceauthor:[AWS]
2+
// SPDX-License-Identifier: Apache-2.0
3+
124
// snippet-start:[dynamodb.dotNET.CodeExample.10_DeletingTable]
135
using System;
146
using System.Threading.Tasks;

.dotnet/example_code/DynamoDB/GettingStarted/old/DeleteItem/Program.cs

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
1-
// snippet-sourcedescription:[ ]
2-
// snippet-service:[dynamodb]
3-
// snippet-keyword:[dotNET]
4-
// snippet-keyword:[Amazon DynamoDB]
5-
// snippet-keyword:[Code Sample]
6-
// snippet-keyword:[ ]
7-
// snippet-sourcetype:[full-example]
8-
// snippet-sourcedate:[ ]
9-
// snippet-sourceauthor:[AWS]
10-
// snippet-start:[dynamodb.dotNET.CodeExample.DeleteItem]
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
113

12-
/**
13-
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* This file is licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License. A copy of
17-
* the License is located at
18-
*
19-
* http://aws.amazon.com/apache2.0/
20-
*
21-
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
22-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
23-
* specific language governing permissions and limitations under the License.
24-
*/
4+
// snippet-start:[dynamodb.dotNET.CodeExample.DeleteItem]
255
using System;
266
using System.Collections.Generic;
277
using System.Linq;

.dotnet/example_code/DynamoDB/GettingStarted/old/DeleteTable/Program.cs

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
1-
// snippet-sourcedescription:[ ]
2-
// snippet-service:[dynamodb]
3-
// snippet-keyword:[dotNET]
4-
// snippet-keyword:[Amazon DynamoDB]
5-
// snippet-keyword:[Code Sample]
6-
// snippet-keyword:[ ]
7-
// snippet-sourcetype:[full-example]
8-
// snippet-sourcedate:[ ]
9-
// snippet-sourceauthor:[AWS]
10-
// snippet-start:[dynamodb.dotNET.CodeExample.DeleteTable]
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
113

12-
/**
13-
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* This file is licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License. A copy of
17-
* the License is located at
18-
*
19-
* http://aws.amazon.com/apache2.0/
20-
*
21-
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
22-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
23-
* specific language governing permissions and limitations under the License.
24-
*/
4+
// snippet-start:[dynamodb.dotNET.CodeExample.DeleteTable]
255
using System;
266
using System.Text;
277

.dotnet/example_code/DynamoDB/GettingStarted/old/LoadJsonMovieData/Program.cs

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
1-
// snippet-sourcedescription:[ ]
2-
// snippet-service:[dynamodb]
3-
// snippet-keyword:[dotNET]
4-
// snippet-keyword:[Amazon DynamoDB]
5-
// snippet-keyword:[Code Sample]
6-
// snippet-keyword:[ ]
7-
// snippet-sourcetype:[full-example]
8-
// snippet-sourcedate:[ ]
9-
// snippet-sourceauthor:[AWS]
10-
// snippet-start:[dynamodb.dotNET.CodeExample.LoadJsonMovieData]
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
113

12-
/**
13-
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* This file is licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License. A copy of
17-
* the License is located at
18-
*
19-
* http://aws.amazon.com/apache2.0/
20-
*
21-
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
22-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
23-
* specific language governing permissions and limitations under the License.
24-
*/
4+
// snippet-start:[dynamodb.dotNET.CodeExample.LoadJsonMovieData]
255
using System;
266
using System.Collections.Generic;
277
using System.IO;

.dotnet/example_code/DynamoDB/GettingStarted/old/MoviesCreateTable/Program.cs

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
1-
// snippet-sourcedescription:[ ]
2-
// snippet-service:[dynamodb]
3-
// snippet-keyword:[dotNET]
4-
// snippet-keyword:[Amazon DynamoDB]
5-
// snippet-keyword:[Code Sample]
6-
// snippet-keyword:[ ]
7-
// snippet-sourcetype:[full-example]
8-
// snippet-sourcedate:[ ]
9-
// snippet-sourceauthor:[AWS]
10-
// snippet-start:[dynamodb.dotNET.CodeExample.MoviesCreateTable]
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
113

12-
/**
13-
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* This file is licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License. A copy of
17-
* the License is located at
18-
*
19-
* http://aws.amazon.com/apache2.0/
20-
*
21-
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
22-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
23-
* specific language governing permissions and limitations under the License.
24-
*/
4+
// snippet-start:[dynamodb.dotNET.CodeExample.MoviesCreateTable]
255
using System;
266
using System.Collections.Generic;
277
using System.IO;

0 commit comments

Comments
 (0)