File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
firebase-database/src/test/java/com/google/firebase/database
firebase-firestore/src/test/java/com/google/firebase/firestore/util Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -570,7 +570,7 @@ public String getValue4() {
570
570
}
571
571
}
572
572
573
- @ SuppressWarnings ("ConstantField" )
573
+ @ SuppressWarnings ({ "ConstantField" , "NonAsciiCharacters" , "UnicodeInCode" } )
574
574
private static class UnicodeBean {
575
575
private String 漢字 ;
576
576
@@ -1468,6 +1468,7 @@ public void roundTripCaseSensitiveFieldBean4() {
1468
1468
}
1469
1469
1470
1470
@ Test
1471
+ @ SuppressWarnings ("UnicodeInCode" )
1471
1472
public void roundTripUnicodeBean () {
1472
1473
UnicodeBean bean = new UnicodeBean ();
1473
1474
bean .漢字 = "foo" ;
Original file line number Diff line number Diff line change @@ -629,7 +629,7 @@ public String getValue4() {
629
629
}
630
630
}
631
631
632
- @ SuppressWarnings ({"ConstantField" , "NonAsciiCharacters" })
632
+ @ SuppressWarnings ({"ConstantField" , "NonAsciiCharacters" , "UnicodeInCode" })
633
633
private static class UnicodeBean {
634
634
private String 漢字 ;
635
635
@@ -1721,6 +1721,7 @@ public void roundTripCaseSensitiveFieldBean4() {
1721
1721
}
1722
1722
1723
1723
@ Test
1724
+ @ SuppressWarnings ("UnicodeInCode" )
1724
1725
public void roundTripUnicodeBean () {
1725
1726
UnicodeBean bean = new UnicodeBean ();
1726
1727
bean .漢字 = "foo" ;
You can’t perform that action at this time.
0 commit comments