mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
ScalafmtAll
This commit is contained in:
@ -98,7 +98,6 @@ object Conversion {
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
object Office {
|
||||
val odt = MimeType.application("vnd.oasis.opendocument.text")
|
||||
val ods = MimeType.application("vnd.oasis.opendocument.spreadsheet")
|
||||
@ -140,9 +139,9 @@ object Conversion {
|
||||
|
||||
def unapply(mt: MimeType): Option[MimeType] =
|
||||
mt match {
|
||||
case Office(_) => Some(mt)
|
||||
case MimeType.TextAllMatch(_) => Some(mt)
|
||||
case MimeType.ImageMatch(_) => Some(mt)
|
||||
case _ => None
|
||||
case Office(_) => Some(mt)
|
||||
case MimeType.TextAllMatch(_) => Some(mt)
|
||||
case MimeType.ImageMatch(_) => Some(mt)
|
||||
case _ => None
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user