We discussed this a while ago, soon after Spark development moved to Scala 2.10.  The overwhelming preference was that we use map/getOrElse instead of fold.  When working on Spark, consider turning off that particular inspection and warning in the IntelliJ preferences.