Skip to content

Commit d08b577

Browse files
author
Alexandru Scvortov
committed
improve docs and over-qualify Uri
1 parent 56b7c83 commit d08b577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/client/RabbitMQ.Client/src/client/api/ConnectionFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace RabbitMQ.Client
8181
///</para>
8282
///<example><code>
8383
/// ConnectionFactory factory = new ConnectionFactory();
84-
/// factory.Uri = "amqp://guest:guest@localhost:5672/";
84+
/// factory.Uri = "amqp://";
8585
/// IConnection conn = factory.CreateConnection();
8686
/// ...
8787
///</code></example>
@@ -386,7 +386,7 @@ that has at least the path segment "/". */
386386

387387
//<summary>Unescape a string, protecting '+'.</summary>
388388
private string UriDecode(string uri) {
389-
return Uri.UnescapeDataString(uri.Replace("+", "%2B"));
389+
return System.Uri.UnescapeDataString(uri.Replace("+", "%2B"));
390390
}
391391
}
392392
}

0 commit comments

Comments
 (0)