@@ -1727,7 +1727,7 @@ public void jsonObjectOptDefault() {
17271727 assertTrue ("optBigInteger() should return default BigInteger" ,
17281728 BigInteger .TEN .compareTo (jsonObject .optBigInteger ("myKey" ,BigInteger .TEN ))==0 );
17291729 assertTrue ("optBoolean() should return default boolean" ,
1730- true == jsonObject .optBoolean ("myKey" , true ));
1730+ jsonObject .optBoolean ("myKey" , true ));
17311731 assertTrue ("optInt() should return default int" ,
17321732 42 == jsonObject .optInt ("myKey" , 42 ));
17331733 assertTrue ("optEnum() should return default Enum" ,
@@ -1757,7 +1757,7 @@ public void jsonObjectOptNoKey() {
17571757 assertTrue ("optBigInteger() should return default BigInteger" ,
17581758 BigInteger .TEN .compareTo (jsonObject .optBigInteger ("myKey" ,BigInteger .TEN ))==0 );
17591759 assertTrue ("optBoolean() should return default boolean" ,
1760- true == jsonObject .optBoolean ("myKey" , true ));
1760+ jsonObject .optBoolean ("myKey" , true ));
17611761 assertTrue ("optInt() should return default int" ,
17621762 42 == jsonObject .optInt ("myKey" , 42 ));
17631763 assertTrue ("optEnum() should return default Enum" ,
0 commit comments