Repository navigation
3.53.0
What's Changed
- Inline calls to deprecated OpenRewrite methods by @timtebeek in #1435
- Replace Guava's
Strings.isNullOrEmptywiths == null || s.isEmpty()in NoGuava by @knutwannheden in #1429 - Use the Java 19 expected-size factories instead of capacity constructors by @knutwannheden in #1419
- Keep
Files.createTempDirwhere nothing handles its replacement'sIOExceptionby @knutwannheden in #1428 - Keep Guava immutable factories where the JDK factory can't replace them by @knutwannheden in #1416
- Keep the filtered set's order and comparator when converting
Sets.filterby @knutwannheden in #1431 - Keep Guava's primitive asList where Arrays.asList would change the element type by @knutwannheden in #1418
- Box a primitive type witness when converting Predicates.equalTo by @knutwannheden in #1420
- Replace Guava's Files.toString with new String(Files.readAllBytes(..), charset) by @knutwannheden in #1426
- Replace
Lists.newArrayList(E...)withnew ArrayList<>(Arrays.asList(..))in NoGuava by @knutwannheden in #1423 - Convert multi-element ImmutableSet.of only when its elements are distinct constants by @knutwannheden in #1425
- Replace Guava's
checkArgumentandcheckStatestatements withif/throwby @knutwannheden in #1430 - Attribute the cast NoGuavaPredicatesAndOr puts around a lambda by @knutwannheden in #1422
- Replace
Maps.newConcurrentMap,Sets.newTreeSetandStrings.nullToEmptyin NoGuava by @knutwannheden in #1421 - Keep Guava's functional types and Optional where a called API still needs them by @knutwannheden in #1417
- Keep NoGuava's output compiling below the Java version an API needs by @knutwannheden in #1424
- Keep the type arguments of Guava's no-argument collection factories by @knutwannheden in #1432
- Replace
checkNotNullwith a message template byrequireNonNulland aSupplierby @knutwannheden in #1433
Full Changelog: v3.52.0...v3.53.0