Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit 78ed01d

Browse files
committed
Cleanup
1 parent b72d875 commit 78ed01d

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

src/Microsoft.Azure.ServiceBus/Amqp/AmqpMessageConverter.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright (c) Microsoft. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.Diagnostics;
5-
using System.Linq;
6-
74
namespace Microsoft.Azure.ServiceBus.Amqp
85
{
96
using System;

src/Microsoft.Azure.ServiceBus/Core/Batch.cs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Diagnostics;
4-
using Microsoft.Azure.Amqp;
5-
using Microsoft.Azure.Amqp.Framing;
6-
using Microsoft.Azure.ServiceBus.Amqp;
7-
using Microsoft.Azure.ServiceBus.Diagnostics;
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
83

94
namespace Microsoft.Azure.ServiceBus.Core
105
{
6+
using System;
7+
using System.Collections.Generic;
8+
using System.Diagnostics;
9+
using Microsoft.Azure.Amqp;
10+
using Microsoft.Azure.Amqp.Framing;
11+
using Microsoft.Azure.ServiceBus.Amqp;
12+
using Microsoft.Azure.ServiceBus.Diagnostics;
13+
1114
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
1215
public class Batch : IDisposable
1316
{

src/Microsoft.Azure.ServiceBus/Core/MessageSender.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright (c) Microsoft. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using Microsoft.Azure.ServiceBus.Diagnostics;
5-
64
namespace Microsoft.Azure.ServiceBus.Core
75
{
86
using System;
@@ -17,6 +15,7 @@ namespace Microsoft.Azure.ServiceBus.Core
1715
using Microsoft.Azure.Amqp.Framing;
1816
using Microsoft.Azure.ServiceBus.Amqp;
1917
using Microsoft.Azure.ServiceBus.Primitives;
18+
using Microsoft.Azure.ServiceBus.Diagnostics;
2019

2120

2221
/// <summary>

test/Microsoft.Azure.ServiceBus.UnitTests/Primitives/BatchTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void Should_throw_if_batch_disposed()
3131
}
3232

3333
[Fact]
34-
public void Should_throw_when_trying_add_received_message_to_batch()
34+
public void Should_throw_when_trying_to_add_an_already_received_message_to_batch()
3535
{
3636
using (var batch = new Batch(100))
3737
{

0 commit comments

Comments
 (0)