Skip to content

Commit

Permalink
[json-node] Simplify JsonNode.Type enum
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Dec 12, 2024
1 parent e6413ec commit 3309f46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void value() {
assertThat(jsonLong.intValue()).isEqualTo(42);
assertThat(jsonLong.longValue()).isEqualTo(42L);
assertThat(jsonLong.doubleValue()).isEqualTo(42D);
assertThat(jsonLong.numberValue()).isEqualTo(42);
assertThat(jsonLong.numberValue()).isEqualTo(42L);
assertThat(jsonLong.decimalValue()).isEqualTo(BigDecimal.valueOf(42));
}

Expand Down

0 comments on commit 3309f46

Please sign in to comment.