@@ -1727,7 +1727,7 @@ public void jsonObjectOptDefault() {
1727
1727
assertTrue ("optBigInteger() should return default BigInteger" ,
1728
1728
BigInteger .TEN .compareTo (jsonObject .optBigInteger ("myKey" ,BigInteger .TEN ))==0 );
1729
1729
assertTrue ("optBoolean() should return default boolean" ,
1730
- true == jsonObject .optBoolean ("myKey" , true ));
1730
+ jsonObject .optBoolean ("myKey" , true ));
1731
1731
assertTrue ("optInt() should return default int" ,
1732
1732
42 == jsonObject .optInt ("myKey" , 42 ));
1733
1733
assertTrue ("optEnum() should return default Enum" ,
@@ -1757,7 +1757,7 @@ public void jsonObjectOptNoKey() {
1757
1757
assertTrue ("optBigInteger() should return default BigInteger" ,
1758
1758
BigInteger .TEN .compareTo (jsonObject .optBigInteger ("myKey" ,BigInteger .TEN ))==0 );
1759
1759
assertTrue ("optBoolean() should return default boolean" ,
1760
- true == jsonObject .optBoolean ("myKey" , true ));
1760
+ jsonObject .optBoolean ("myKey" , true ));
1761
1761
assertTrue ("optInt() should return default int" ,
1762
1762
42 == jsonObject .optInt ("myKey" , 42 ));
1763
1763
assertTrue ("optEnum() should return default Enum" ,
0 commit comments