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

ben-manes / caffeine / #3502
100%

Build:
DEFAULT BRANCH: master
Ran 02 Feb 2023 09:29AM UTC
Jobs 1
Files 77
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#3502

push

github-actions

ben-manes
consistant behavior for null lookups to into unmodifiable maps (fixes #864)

While a null lookup is not allowed for cache the operations (e.g. asMap.get), if
an operation returned a map then this might not be consistant. Originally all of
these cases used Collections' emptyMap() or unmodifiableMap(m), but a few cases
switched to Map's of() or copyOf() alternatives. The former allows for null
queries whereas the latter does not, and this could vary depending on if the
result was populated. For consistency and retaining the original behavior, this
is restored to the Collections' methods. Further, the empty map is now wrapped
as unmodifiable due to the inconsistency otherwise with Map.clear()'s behavior.

7480 of 7568 relevant lines covered (98.84%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3502.1 02 Feb 2023 09:29AM UTC 0
98.84
Source Files on build #3502
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3502
  • 3b36377a on github
  • Prev Build on master
  • Next Build on master
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