File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
core/src/main/java/io/grpc/internal Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 3535 * Contains certificate/key PEM file utility method(s) for internal usage.
3636 */
3737public final class CertificateUtils {
38- private static Class <?> x509ExtendedTrustManagerClass ;
38+ private static final Class <?> x509ExtendedTrustManagerClass ;
3939
4040 static {
41+ Class <?> x509ExtendedTrustManagerClass1 ;
4142 try {
42- x509ExtendedTrustManagerClass = Class .forName ("javax.net.ssl.X509ExtendedTrustManager" );
43+ x509ExtendedTrustManagerClass1 = Class .forName ("javax.net.ssl.X509ExtendedTrustManager" );
4344 } catch (ClassNotFoundException e ) {
45+ x509ExtendedTrustManagerClass1 = null ;
4446 // Will disallow per-rpc authority override via call option.
4547 }
48+ x509ExtendedTrustManagerClass = x509ExtendedTrustManagerClass1 ;
4649 }
4750
4851 /**
You can’t perform that action at this time.
0 commit comments