diff --git a/src/Coherence/Net/ConfigurableAddressProvider.cs b/src/Coherence/Net/ConfigurableAddressProvider.cs index 0df2eeb..5b23836 100644 --- a/src/Coherence/Net/ConfigurableAddressProvider.cs +++ b/src/Coherence/Net/ConfigurableAddressProvider.cs @@ -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; @@ -306,7 +306,7 @@ protected IEnumerator ResolveAddress(string host, int port) } else { - throw e; + throw; } } diff --git a/tests/Coherence.Tests/Net/Ssl/SslTests.cs b/tests/Coherence.Tests/Net/Ssl/SslTests.cs index 22a39c8..45bd449 100644 --- a/tests/Coherence.Tests/Net/Ssl/SslTests.cs +++ b/tests/Coherence.Tests/Net/Ssl/SslTests.cs @@ -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; @@ -80,7 +80,7 @@ public void TestSslClientAuthenticationException() client.Echo("Hello World"); Assert.Fail("Expected IOException, but got none."); } - catch (IOException e) + catch (IOException) {} finally {