Skip to content

Commit

Permalink
COH-30785 Cleanup build warnings in .NET client - additional cleanup
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//dev/main.net/": change = 111499]
  • Loading branch information
vasac committed Sep 20, 2024
1 parent 270917b commit 8fc8593
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Coherence/Net/ConfigurableAddressProvider.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Copyright (c) 2000, 2021, Oracle and/or its affiliates.
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
* https://oss.oracle.com/licenses/upl.
*/
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -306,7 +306,7 @@ protected IEnumerator<IPEndPoint> ResolveAddress(string host, int port)
}
else
{
throw e;
throw;
}
}

Expand Down
6 changes: 3 additions & 3 deletions tests/Coherence.Tests/Net/Ssl/SslTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
* https://oss.oracle.com/licenses/upl.
*/
using System;
using System.IO;
Expand Down Expand Up @@ -80,7 +80,7 @@ public void TestSslClientAuthenticationException()
client.Echo("Hello World");
Assert.Fail("Expected IOException, but got none.");
}
catch (IOException e)
catch (IOException)
{}
finally
{
Expand Down

0 comments on commit 8fc8593

Please sign in to comment.