Skip to content

Commit 22be2a6

Browse files
committed
remove unrelated changes
1 parent b9c71a7 commit 22be2a6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/test/java/com/google/firebase/messaging/MessageTest.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -959,10 +959,7 @@ public void testExtendedAndroidNotificationParameters() throws IOException {
959959
.build())
960960
.put("default_light_settings", false)
961961
.put("visibility", "public")
962-
// There is a problem with the JsonParser assignment to BigDecimal takes priority over
963-
// all other number types and so this integer value is interpreted as a BigDecimal
964-
// rather than an Integer.
965-
.put("notification_count", BigDecimal.valueOf(10L))
962+
.put("notification_count", new BigDecimal(10))
966963
.put("proxy", "DENY")
967964
.build())
968965
.build();
@@ -971,7 +968,7 @@ public void testExtendedAndroidNotificationParameters() throws IOException {
971968
}
972969

973970
private static void assertJsonEquals(
974-
Map<?, ?> expected, Object actual) throws IOException {
971+
Map expected, Object actual) throws IOException {
975972
assertEquals(expected, toMap(actual));
976973
}
977974

0 commit comments

Comments
 (0)