srowen commented on a change in pull request #26728: [SPARK-30012][CORE][SQL] 
Change classes extending scala collection classes to work with 2.13
URL: https://github.com/apache/spark/pull/26728#discussion_r352364936
 
 

 ##########
 File path: 
core/src/main/scala/org/apache/spark/util/collection/CompactBuffer.scala
 ##########
 @@ -112,8 +112,6 @@ private[spark] class CompactBuffer[T: ClassTag] extends 
Seq[T] with Serializable
 
   override def length: Int = curSize
 
-  override def size: Int = curSize
 
 Review comment:
   This is not overrideable in 2.13, and in any event, just returns `.length` 
already in 2.12 anyway.

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


With regards,
Apache Git Services

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

Reply via email to