cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccri...@apache.org
Subject [cxf] branch 3.1.x-fixes updated: Make conn final for visibility in doPriv
Date Tue, 05 Jun 2018 09:05:41 GMT
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.andrew.mccright@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.

Mime
View raw message