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

ben-manes / caffeine / #3501
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 02 Feb 2023 08:54AM UTC
Jobs 1
Files 77
Run time 2s
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
#3501

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 #3501.1 02 Feb 2023 08:54AM UTC 0
98.84
Source Files on build #3501
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3501
  • 3b36377a on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
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