Skip to content

Commit 278e6ec

Browse files
committed
fix: remove redundant license comments from multiple files
1 parent b42c6a6 commit 278e6ec

23 files changed

+6
-335
lines changed

libraries/src/AWS.Lambda.Powertools.Kafka.Avro/AWS.Lambda.Powertools.Kafka.Avro.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--suppress MsbuildTargetFrameworkTagInspection -->
22
<Project Sdk="Microsoft.NET.Sdk">
33
<Import Project="../KafkaDependencies.props" />
4-
<PropertyGroup>
4+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
55
<IncludeKafkaFiles>true</IncludeKafkaFiles>
66
<DefineConstants>$(DefineConstants);KAFKA_AVRO</DefineConstants>
77
</PropertyGroup>
@@ -19,7 +19,7 @@
1919
<PackageReference Include="Apache.Avro"/>
2020
</ItemGroup>
2121
<!-- Debug: Use project references -->
22-
<ItemGroup Condition="'$(IncludeKafkaFiles)' != 'true'">
22+
<ItemGroup Condition="'$(Configuration)'=='Debug'">
2323
<ProjectReference Include="..\AWS.Lambda.Powertools.Kafka\AWS.Lambda.Powertools.Kafka.csproj"/>
2424
</ItemGroup>
2525
</Project>

libraries/src/AWS.Lambda.Powertools.Kafka.Avro/PowertoolsKafkaAvroSerializer.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
* Copyright JsonCons.Net authors. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License").
5-
* You may not use this file except in compliance with the License.
6-
* A copy of the License is located at
7-
*
8-
* http://aws.amazon.com/apache2.0
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed
11-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12-
* express or implied. See the License for the specific language governing
13-
* permissions and limitations under the License.
14-
*/
15-
161
using System.Diagnostics.CodeAnalysis;
172
using System.Reflection;
183
using System.Text.Json;

libraries/src/AWS.Lambda.Powertools.Kafka.Json/AWS.Lambda.Powertools.Kafka.Json.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--suppress MsbuildTargetFrameworkTagInspection -->
22
<Project Sdk="Microsoft.NET.Sdk">
33
<Import Project="../KafkaDependencies.props" />
4-
<PropertyGroup>
4+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
55
<IncludeKafkaFiles>true</IncludeKafkaFiles>
66
<DefineConstants>$(DefineConstants);KAFKA_JSON</DefineConstants>
77
</PropertyGroup>
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818

1919
<!-- Debug: Use project references -->
20-
<ItemGroup Condition="'$(IncludeKafkaFiles)' != 'true'">
20+
<ItemGroup Condition="'$(Configuration)'=='Debug'">
2121
<ProjectReference Include="..\AWS.Lambda.Powertools.Kafka\AWS.Lambda.Powertools.Kafka.csproj"/>
2222
</ItemGroup>
2323
</Project>

libraries/src/AWS.Lambda.Powertools.Kafka.Json/PowertoolsKafkaJsonSerializer.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
* Copyright JsonCons.Net authors. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License").
5-
* You may not use this file except in compliance with the License.
6-
* A copy of the License is located at
7-
*
8-
* http://aws.amazon.com/apache2.0
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed
11-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12-
* express or implied. See the License for the specific language governing
13-
* permissions and limitations under the License.
14-
*/
15-
161
using System.Diagnostics.CodeAnalysis;
172
using System.Text;
183
using System.Text.Json;

libraries/src/AWS.Lambda.Powertools.Kafka.Protobuf/AWS.Lambda.Powertools.Kafka.Protobuf.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--suppress MsbuildTargetFrameworkTagInspection -->
22
<Project Sdk="Microsoft.NET.Sdk">
33
<Import Project="../KafkaDependencies.props" />
4-
<PropertyGroup>
4+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
55
<IncludeKafkaFiles>true</IncludeKafkaFiles>
66
<DefineConstants>$(DefineConstants);KAFKA_PROTOBUF</DefineConstants>
77
</PropertyGroup>
@@ -21,7 +21,7 @@
2121
</ItemGroup>
2222

2323
<!-- Debug: Use project references -->
24-
<ItemGroup Condition="'$(IncludeKafkaFiles)' != 'true'">
24+
<ItemGroup Condition="'$(Configuration)'=='Debug'">
2525
<ProjectReference Include="..\AWS.Lambda.Powertools.Kafka\AWS.Lambda.Powertools.Kafka.csproj"/>
2626
</ItemGroup>
2727

libraries/src/AWS.Lambda.Powertools.Kafka.Protobuf/PowertoolsKafkaProtobufSerializer.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
* Copyright JsonCons.Net authors. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License").
5-
* You may not use this file except in compliance with the License.
6-
* A copy of the License is located at
7-
*
8-
* http://aws.amazon.com/apache2.0
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed
11-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12-
* express or implied. See the License for the specific language governing
13-
* permissions and limitations under the License.
14-
*/
15-
161
using System.Diagnostics.CodeAnalysis;
172
using System.Reflection;
183
using System.Text.Json;

libraries/src/AWS.Lambda.Powertools.Kafka/ConsumerRecord.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
* Copyright JsonCons.Net authors. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License").
5-
* You may not use this file except in compliance with the License.
6-
* A copy of the License is located at
7-
*
8-
* http://aws.amazon.com/apache2.0
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed
11-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12-
* express or implied. See the License for the specific language governing
13-
* permissions and limitations under the License.
14-
*/
15-
161
#if KAFKA_JSON
172
namespace AWS.Lambda.Powertools.Kafka.Json;
183
#elif KAFKA_AVRO

libraries/src/AWS.Lambda.Powertools.Kafka/ConsumerRecords.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
* Copyright JsonCons.Net authors. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License").
5-
* You may not use this file except in compliance with the License.
6-
* A copy of the License is located at
7-
*
8-
* http://aws.amazon.com/apache2.0
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed
11-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12-
* express or implied. See the License for the specific language governing
13-
* permissions and limitations under the License.
14-
*/
15-
161
using System.Collections;
172

183
#if KAFKA_JSON

libraries/src/AWS.Lambda.Powertools.Kafka/HeaderExtensions.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
* Copyright JsonCons.Net authors. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License").
5-
* You may not use this file except in compliance with the License.
6-
* A copy of the License is located at
7-
*
8-
* http://aws.amazon.com/apache2.0
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed
11-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12-
* express or implied. See the License for the specific language governing
13-
* permissions and limitations under the License.
14-
*/
15-
161
using System.Text;
172

183
#if KAFKA_JSON
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
* Copyright JsonCons.Net authors. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License").
5-
* You may not use this file except in compliance with the License.
6-
* A copy of the License is located at
7-
*
8-
* http://aws.amazon.com/apache2.0
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed
11-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12-
* express or implied. See the License for the specific language governing
13-
* permissions and limitations under the License.
14-
*/
15-
161
using System.Runtime.CompilerServices;
172

183
[assembly: InternalsVisibleTo("AWS.Lambda.Powertools.Kafka.Tests")]

0 commit comments

Comments
 (0)