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

slub / urnlib / 44066119283

17 Nov 2026 10:30AM UTC coverage: 96.139% (-0.09%) from 96.224%
44066119283

push

github

claussni
Compare URNs and their parts component-wise in equals() and hashCode()

equals() and hashCode() now follow plain Java value semantics: two
objects are equal if they are of the same class and all their
components are equal, exactly as given. Up to now they implemented the
lexical equivalence of RFC 2141 and RFC 8141.

- Namespace Identifiers are compared case-sensitively.
- Namespace Specific Strings are compared by their encoded literal,
  including the case of hex digits in percent-encoded octets.
- URN_8141 includes its r-, q- and f-components.
- Objects of different classes are never equal, e.g. a URN_2141 and a
  URN_8141 with the same string representation.

Literals that are not URL encoded are now percent-encoded with
upper-case hex digits, as RFC 3986 recommends for URI producers.

This is a breaking change for code that relies on equivalent URNs
being equal.

306 of 326 branches covered (93.87%)

Branch coverage included in aggregate %.

441 of 451 relevant lines covered (97.78%)

4.94 hits per line

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

94.0
/de/slub/urn/NamespaceSpecificString.java


Source Not Available

The file "de/slub/urn/NamespaceSpecificString.java" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

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

© 2026 Coveralls, Inc