You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by am...@apache.org on 2018/06/05 09:05:41 UTC
[cxf] branch 3.1.x-fixes updated: Make conn final for visibility in
doPriv
This is an automated email from the ASF dual-hosted git repository.
amccright pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.1.x-fixes by this push:
new 024a9c0 Make conn final for visibility in doPriv
024a9c0 is described below
commit 024a9c023fe4dc8f874d84ea9e1cec2fab47113b
Author: Andy McCright <j....@gmail.com>
AuthorDate: Tue Jun 5 04:04:52 2018 -0500
Make conn final for visibility in doPriv
---
.../java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java b/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java
index b9b77ce..a8be0f8 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java
@@ -179,7 +179,7 @@ public class HttpsURLConnectionFactory {
if (connection instanceof HttpsURLConnection) {
// handle the expected case (javax.net.ssl)
- HttpsURLConnection conn = (HttpsURLConnection) connection;
+ final HttpsURLConnection conn = (HttpsURLConnection) connection;
conn.setHostnameVerifier(verifier);
AccessController.doPrivileged(new PrivilegedAction<Void>() {
--
To stop receiving notification emails like this one, please contact
amccright@apache.org.