brace multiline if statements

This commit is contained in:
telans
2020-06-20 21:12:36 +12:00
parent 98db8f72e0
commit 7f307f9082
20 changed files with 280 additions and 5 deletions

View File

@@ -34,7 +34,9 @@ namespace Rssdp.Infrastructure
finally
{
if (retVal != null)
{
retVal.Dispose();
}
}
}
@@ -64,7 +66,9 @@ namespace Rssdp.Infrastructure
message.Method = new HttpMethod(parts[0].Trim());
Uri requestUri;
if (Uri.TryCreate(parts[1].Trim(), UriKind.RelativeOrAbsolute, out requestUri))
{
message.RequestUri = requestUri;
}
else
System.Diagnostics.Debug.WriteLine(parts[1]);