[jira] [Assigned] (SPARK-37854) Use type match to simplify TestUtils#withHttpConnection

2022-01-15 Thread Sean R. Owen (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-37854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean R. Owen reassigned SPARK-37854:


Assignee: Yang Jie

> Use type match to simplify TestUtils#withHttpConnection
> ---
>
> Key: SPARK-37854
> URL: https://issues.apache.org/jira/browse/SPARK-37854
> Project: Spark
>  Issue Type: Improvement
>  Components: Spark Core
>Affects Versions: 3.3.0
>Reporter: Yang Jie
>Assignee: Yang Jie
>Priority: Trivial
>
> {code:java}
> if (connection.isInstanceOf[HttpsURLConnection]) {
>       
>       
> connection.asInstanceOf[HttpsURLConnection].setSSLSocketFactory(sslCtx.getSocketFactory())
>       
> connection.asInstanceOf[HttpsURLConnection].setHostnameVerifier(verifier) 
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-37854) Use type match to simplify TestUtils#withHttpConnection

2022-01-10 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-37854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-37854:


Assignee: Apache Spark

> Use type match to simplify TestUtils#withHttpConnection
> ---
>
> Key: SPARK-37854
> URL: https://issues.apache.org/jira/browse/SPARK-37854
> Project: Spark
>  Issue Type: Improvement
>  Components: Spark Core
>Affects Versions: 3.3.0
>Reporter: Yang Jie
>Assignee: Apache Spark
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-37854) Use type match to simplify TestUtils#withHttpConnection

2022-01-10 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-37854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-37854:


Assignee: (was: Apache Spark)

> Use type match to simplify TestUtils#withHttpConnection
> ---
>
> Key: SPARK-37854
> URL: https://issues.apache.org/jira/browse/SPARK-37854
> Project: Spark
>  Issue Type: Improvement
>  Components: Spark Core
>Affects Versions: 3.3.0
>Reporter: Yang Jie
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org