Skip to content

Commit

Permalink
Merge pull request #1190 from stephbian/args-hashcode
Browse files Browse the repository at this point in the history
Override hashCode for Args
  • Loading branch information
johnynek committed Feb 5, 2015
2 parents 3ea684b + 500ae65 commit b84cd09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scalding-args/src/main/scala/com/twitter/scalding/Args.scala
Expand Up @@ -112,6 +112,8 @@ class Args(val m: Map[String, List[String]]) extends java.io.Serializable {
}
}

override def hashCode(): Int = m.hashCode()

/**
* Equivalent to .optional(key).getOrElse(default)
*/
Expand Down

0 comments on commit b84cd09

Please sign in to comment.