Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
Fix DBList case matches after casbah_core upgrade to 2.3.0 RC1 (cherr…
Browse files Browse the repository at this point in the history
…y picked from commit d81c20e)
  • Loading branch information
rktoomey committed Jun 24, 2012
1 parent 7a561ef commit b33759a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions salat-core/src/main/scala/com/novus/salat/Grater.scala
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ case class DefaultArg(clazz: Class[_], field: SField, value: Option[AnyRef])(imp
value.exists {
v =>
serialized match {
case serialized: MongoDBList if serialized.isEmpty && isEmptyTraversable => true
case serialized: BasicDBList if serialized.isEmpty && isEmptyTraversable => true
case serialized: BasicDBObject if serialized.isEmpty && isEmptyMap => true
case serialized => serialized == v
Expand Down

0 comments on commit b33759a

Please sign in to comment.