Permalink
Browse files

Remove buggy JArray equals method (fixes #1136)

  • Loading branch information...
Joni Freeman
Joni Freeman committed Oct 24, 2011
1 parent 2dbccbb commit 28c0deacf7833ae9889ebe39fec9154c90e9e8fe
Showing with 0 additions and 5 deletions.
  1. +0 −5 core/json/src/main/scala/net/liftweb/json/JsonAST.scala
@@ -383,11 +383,6 @@ object JsonAST {
type Values = List[Any]
def values = arr.map(_.values)
override def apply(i: Int): JValue = arr(i)
-
- override def equals(that: Any): Boolean = that match {
- case a: JArray => Set(arr.toArray: _*) == Set(a.arr.toArray: _*)
- case _ => false
- }
}
/** Renders JSON.

0 comments on commit 28c0dea

Please sign in to comment.