sarutak commented on code in PR #55218:
URL: https://github.com/apache/spark/pull/55218#discussion_r3040610287


##########
core/src/test/scala/org/apache/spark/executor/ClassLoaderIsolationSuite.scala:
##########
@@ -17,37 +17,38 @@
 
 package org.apache.spark.executor
 
-import java.io.File
+import java.io.{File, PrintWriter}
 import java.net.URL
 
-import scala.util.Properties
-
 import org.apache.spark.{JobArtifactSet, JobArtifactState, LocalSparkContext, 
SparkConf, SparkContext, SparkFunSuite, TestUtils}
 import org.apache.spark.util.{MutableURLClassLoader, Utils}
 
 
 class ClassLoaderIsolationSuite extends SparkFunSuite with LocalSparkContext  {
 
-  private val scalaVersion = Properties.versionNumberString
-    .split("\\.")
-    .take(2)
-    .mkString(".")
-
   private val jarURL1 = 
TestUtils.createJarWithClasses(Seq("ClassLoaderIsolation_Dummy"))
   private lazy val jar1 = jarURL1.toString
 
-  // package com.example
-  // object Hello { def test(): Int = 2 }
-  // case class Hello(x: Int, y: Int)

Review Comment:
   If I understand correctly, only `object Hello` is used so I removed `case 
class Hello`. If I'm missing something, please let me know.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to