title: Scala way to set object field value if null in a Seq/List
body: <p>What is the nicest way to iterate over Scala Seq/List (or other similar collection for that matter) of objects and set the value of a specific object field in case they are null?</p>
  
  <p>For example, a case class:</p>
  
  <pre><code>case class AmazingData(age: Int, name: String)
  
  val ad1 = AmazingData(12, "bar")
  val ad2 = AmazingData(12, "foo")
  val ad3 = AmazingData(12, null)
  
  val alotOfAmazingData: Seq[AmazingData] = Seq(ad1, ad2, ad3)
  </code></pre>
  
  <p>Now I want to iterate over <code>alotOfAmazingData</code> and set the name value for the ones that have null.</p>