Skip to content

Commit

Permalink
Remove String => YamlNumber conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jcazevedo committed Nov 29, 2016
1 parent 7364a7e commit cc8aea6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/scala/net/jcazevedo/moultingyaml/YamlValue.scala
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ object YamlNumber {
case _ => new YamlNumber(BigDecimal(n))
}
def apply(n: BigInt) = new YamlNumber(BigDecimal(n))
def apply(n: String) = new YamlNumber(BigDecimal(n))
}

case object YamlNaN extends YamlValue {
Expand Down

0 comments on commit cc8aea6

Please sign in to comment.