commit | 6b119e5cd8e0ae76c96bebaa1948c69ea791a0be | [log] [tgz] |
---|---|---|
author | jdesprez <jdesprez@google.com> | Thu May 04 15:30:11 2017 -0700 |
committer | jdesprez <jdesprez@google.com> | Thu May 04 15:52:23 2017 -0700 |
tree | da47483ca1d2491425f4566a9aa63790866dfa2d | |
parent | 66eb368bfb07f2c8b89a9bb41b853d69ddaf645c [diff] |
Add more CTS tests error prone rules EqualsNan, prevent comparing to Float.NaN that always yield false. Using isNaN instead. ArrayToString is pending b/37995059 to handle external/ changes to fix warnings. FormatString to make sure the print will be as expected. Test: make cts javac-check -j76 TARGET_PRODUCT=aosp_arm64 WITH_DEXPREOPT=false RUN_ERROR_PRONE=true Bug: 37854485 Change-Id: I916b77e4821fb5b860e2704180b5b290ff633138