Skip to content

Commit 8fc8593

Browse files
committed
COH-30785 Cleanup build warnings in .NET client - additional cleanup
[git-p4: depot-paths = "//dev/main.net/": change = 111499]
1 parent 270917b commit 8fc8593

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Coherence/Net/ConfigurableAddressProvider.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* Copyright (c) 2000, 2021, Oracle and/or its affiliates.
2+
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
33
*
44
* Licensed under the Universal Permissive License v 1.0 as shown at
5-
* http://oss.oracle.com/licenses/upl.
5+
* https://oss.oracle.com/licenses/upl.
66
*/
77
using System;
88
using System.Collections.Generic;
@@ -306,7 +306,7 @@ protected IEnumerator<IPEndPoint> ResolveAddress(string host, int port)
306306
}
307307
else
308308
{
309-
throw e;
309+
throw;
310310
}
311311
}
312312

tests/Coherence.Tests/Net/Ssl/SslTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
2+
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
33
*
44
* Licensed under the Universal Permissive License v 1.0 as shown at
5-
* http://oss.oracle.com/licenses/upl.
5+
* https://oss.oracle.com/licenses/upl.
66
*/
77
using System;
88
using System.IO;
@@ -80,7 +80,7 @@ public void TestSslClientAuthenticationException()
8080
client.Echo("Hello World");
8181
Assert.Fail("Expected IOException, but got none.");
8282
}
83-
catch (IOException e)
83+
catch (IOException)
8484
{}
8585
finally
8686
{

0 commit comments

Comments
 (0)