• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TAKETODAY / today-infrastructure / 14170977846

31 Mar 2025 11:41AM UTC coverage: 81.658% (+0.01%) from 81.648%
14170977846

push

github

TAKETODAY
:art: Introduce OptionalToObjectConverter

This allows for conversions such as the following.

- Optional.empty()                             -> null
- Optional.of(42) with Integer target          -> 42
- Optional.of(42) with String target           -> "42"
- Optional.of(42) with Optional<String> target -> Optional.of("42")

The OptionalToObjectConverter is also registered by default in
DefaultConversionService, alongside the existing
ObjectToOptionalConverter.

58938 of 77104 branches covered (76.44%)

Branch coverage included in aggregate %.

139849 of 166334 relevant lines covered (84.08%)

3.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.62
today-context/src/main/java/infra/util/concurrent/AbstractFuture.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc