Skip to content

Commit

Permalink
Got rid of unecessary EdgeRef class
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Ganelin committed Dec 18, 2014
1 parent 07142ce commit 8e5f710
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/src/main/scala/org/apache/spark/util/ObjectWalker.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ import scala.collection.mutable
* https://gist.github.com/JoshRosen/d6a8972c99992e97d040
*/
object ObjectWalker {
case class EdgeRef(cur : AnyRef, parent : EdgeRef) {
def equals(other : EdgeRef) : Boolean = {
cur.equals(other.cur)
}
}

def isTransient(field: Field): Boolean = Modifier.isTransient(field.getModifiers)
def isStatic(field: Field): Boolean = Modifier.isStatic(field.getModifiers)
def isPrimitive(field: Field): Boolean = field.getType.isPrimitive
Expand Down Expand Up @@ -88,7 +82,6 @@ object ObjectWalker {
}
}
}

}
results
}
Expand Down

0 comments on commit 8e5f710

Please sign in to comment.