2.42.0
·
1991 commits
to develop
since this release
Type | Description | Link |
---|---|---|
Improvement | Improve NonComparableStreamSort to validate that stream types implement comparable, as opposed to validating that casting to comparable does not cause a compiler error.This commit reduces the severity to WARNING because it's possible that the check will flag code that happens to work today, but we strongly recommend against sorting streams of a type that is not directly comparable without a custom comparator because it is likely to break later due to lack of enforcement by the type system. |
#1070 |
Improvement | You may apply specific error-prone refactors including those which are not enabled by default by providing a comma delimited list of check names to the -PerrorProneApply option. |
#1109 |
Fix | Migrate baseline error-prone checks to use jdk13 compatible qualifiers | #1110 |