Removed a warning

This commit is contained in:
Šesták Vít
2016-03-09 10:52:01 +01:00
parent a580ab6b95
commit dd99fe8e9b

View File

@@ -13,6 +13,7 @@ final case class SoftwareVulnerability (vulnerabilityId: Int, cpeEntryId: Int, i
def includesAllPreviousVersions: Boolean = includesAllPreviousVersionsRaw match {
case Some("1") => true
case None => false
case _ => sys.error("Unexpected value from ODC database")
}
}