Skip to content

Commit 09bf7ac

Browse files
Simplify
1 parent 56e716e commit 09bf7ac

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

projects/RabbitMQ.Client/client/impl/BasicProperties.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,8 @@ public bool Persistent
115115
/// </summary>
116116
public PublicationAddress ReplyToAddress
117117
{
118-
get
119-
{
120-
PublicationAddress result;
121-
PublicationAddress.TryParse(ReplyTo, out result);
118+
get {
119+
PublicationAddress.TryParse(ReplyTo, out var result);
122120
return result;
123121
}
124122
set { ReplyTo = value.ToString(); }

projects/Unit/TestBasicProperties.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public void TestPersistentPropertyChangesDeliveryMode_PersistentTrueDelivery2()
5252
// Arrange
5353
var subject = new Framing.BasicProperties
5454
{
55-
5655
// Act
5756
Persistent = true
5857
};

0 commit comments

Comments
 (0)