Skip to content

Commit c96d6b0

Browse files
committed
Fix: Fix stylechecks
1 parent e7b378f commit c96d6b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/internal/SharedState.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ object SharedState extends Logging {
159159
try {
160160
SparkSession.getActiveSession match {
161161
case Some(spark) =>
162+
// scalastyle:off hadoopconfiguration
162163
URL.setURLStreamHandlerFactory(
163164
new FsUrlStreamHandlerFactory(spark.sparkContext.hadoopConfiguration))
165+
// scalastyle:on hadoopconfiguration
164166
case _ =>
165167
URL.setURLStreamHandlerFactory(new FsUrlStreamHandlerFactory())
166168
}

0 commit comments

Comments
 (0)