LuciferYang commented on pull request #30351:
URL: https://github.com/apache/spark/pull/30351#issuecomment-726101520


   Address 986ffe5 add  `unused-imports` related compilation warning args, but 
there are some interesting things:
   
   - one is compiler think `scala.language.xxx` is unused import, such as 
`import scala.language.postfixOps`  in `BarrierTaskContext`
   
   - on the other hand, compiler think imports used in comments is unused, such 
as `import org.apache.spark.util.collection.OpenHashMap` in ResourceAllocator
   
   
https://github.com/apache/spark/blob/a3d2954662831ca9fa6a2b886ca5bd8d81785974/core/src/main/scala/org/apache/spark/resource/ResourceAllocator.scala#L23-L44
   
   
   
   
   


----------------------------------------------------------------
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.

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