Skip to content

Commit

Permalink
=htc remove unnecessary asInstanceOf (#21275)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored and ktoso committed Aug 24, 2016
1 parent 67d0d2a commit 9630feb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -92,7 +92,7 @@ object HttpHeader {
case h if clazz.isInstance(h) return OptionVal.Some[T](h.asInstanceOf[T])
case _ // continue ...
}
OptionVal.None.asInstanceOf[OptionVal[T]]
OptionVal.None
}

sealed trait ParsingResult {
Expand Down

0 comments on commit 9630feb

Please sign in to comment.