Skip to content

Commit 5b3daea

Browse files
committed
m
1 parent 3c8edad commit 5b3daea

File tree

8 files changed

+4
-260
lines changed

8 files changed

+4
-260
lines changed

DynamoDbEncryption/codegen-patches/DynamoDbEncryption/dotnet/dafny-4.9.0.patch

Lines changed: 0 additions & 82 deletions
This file was deleted.

DynamoDbEncryption/codegen-patches/DynamoDbEncryptionTransforms/dotnet/dafny-4.9.0.patch

Lines changed: 0 additions & 46 deletions
This file was deleted.

DynamoDbEncryption/codegen-patches/DynamoDbItemEncryptor/dotnet/dafny-4.9.0.patch

Lines changed: 0 additions & 46 deletions
This file was deleted.

DynamoDbEncryption/codegen-patches/StructuredEncryption/dotnet/dafny-4.9.0.patch

Lines changed: 0 additions & 46 deletions
This file was deleted.
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4-
using System.Collections.Generic;
54
using System;
65
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
76
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
87
{
98
public class CollectionOfErrors : Exception
109
{
1110
public readonly System.Collections.Generic.List<Exception> list;
12-
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message + $"\n List: \n{ListAsString(list)}") { this.list = list; }
11+
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message) { this.list = list; }
1312
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
1413
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
15-
private static string ListAsString(List<Exception> list)
16-
{
17-
if (list.Count < 1) return "";
18-
string[] msgArr = new string[list.Count];
19-
for (int i = 0; i < list.Count; i++)
20-
msgArr[i] = $"{list[i].GetType().Name} :: {list[i].Message}";
21-
return String.Join("\n\t", msgArr);
22-
}
2314
}
2415

2516
}
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4-
using System.Collections.Generic;
54
using System;
65
using AWS.Cryptography.DbEncryptionSDK.DynamoDb.Transforms;
76
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb.Transforms
87
{
98
public class CollectionOfErrors : Exception
109
{
1110
public readonly System.Collections.Generic.List<Exception> list;
12-
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message + $"\n List: \n{ListAsString(list)}") { this.list = list; }
11+
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message) { this.list = list; }
1312
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
1413
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
15-
private static string ListAsString(List<Exception> list)
16-
{
17-
if (list.Count < 1) return "";
18-
string[] msgArr = new string[list.Count];
19-
for (int i = 0; i < list.Count; i++)
20-
msgArr[i] = $"{list[i].GetType().Name} :: {list[i].Message}";
21-
return String.Join("\n\t", msgArr);
22-
}
2314
}
2415

2516
}
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4-
using System.Collections.Generic;
54
using System;
65
using AWS.Cryptography.DbEncryptionSDK.DynamoDb.ItemEncryptor;
76
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb.ItemEncryptor
87
{
98
public class CollectionOfErrors : Exception
109
{
1110
public readonly System.Collections.Generic.List<Exception> list;
12-
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message + $"\n List: \n{ListAsString(list)}") { this.list = list; }
11+
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message) { this.list = list; }
1312
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
1413
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
15-
private static string ListAsString(List<Exception> list)
16-
{
17-
if (list.Count < 1) return "";
18-
string[] msgArr = new string[list.Count];
19-
for (int i = 0; i < list.Count; i++)
20-
msgArr[i] = $"{list[i].GetType().Name} :: {list[i].Message}";
21-
return String.Join("\n\t", msgArr);
22-
}
2314
}
2415

2516
}

0 commit comments

Comments
 (0)