Skip to content

Commit 314366d

Browse files
authored
Fix #122: update refs to later RFC (9562) from one it obsoletes (4122) (#123)
1 parent 2bc0cf2 commit 314366d

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
JUG is a set of Java classes for working with UUIDs: generating UUIDs using any of standard methods, outputting
44
efficiently, sorting and so on.
5-
It generates UUIDs according to the [UUID specification (RFC-4122)](https://tools.ietf.org/html/rfc4122)
5+
It generates UUIDs according to the [UUID specification (RFC-9562)](https://tools.ietf.org/html/rfc9562)
66
(see [Wikipedia UUID page](http://en.wikipedia.org/wiki/UUID) for more explanation)
77

88
JUG was written by Tatu Saloranta (<[email protected]>) originally in 2002 and has been updated over the years.
@@ -12,13 +12,13 @@ JUG is licensed under [Apache License 2.0](http://www.apache.org/licenses/LICENS
1212

1313
## Supported UUID versions (1, 3, 4, 5, 6, 7)
1414

15-
JUG supports both "classic" versions defined in RFC 4122]:
15+
JUG supports both "classic" versions defined in [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122):
1616

1717
* `1`: time/location - based
1818
* `3` and `5`: name hash - based
1919
* `4`: random number - based
2020

21-
and newly (in 2022-2024) proposed (see [uuid6](https://uuid6.github.io/uuid6-ietf-draft/) and [RFC-4122 bis](https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/)) variants:
21+
and newly (in 2022-) proposed (see [uuid6](https://uuid6.github.io/uuid6-ietf-draft/) and [RFC-9562](https://datatracker.ietf.org/doc/html/rfc9562) variants:
2222

2323
* `6`: reordered variant of version `1` (with lexicographic ordering)
2424
* `7`: Unix-timestamp + random based variant (also with lexicographic ordering)

release-notes/VERSION

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Project: java-uuid-generator
44
Releases
55
============================================================================
66

7+
(not yet released)
8+
9+
#122: RFC-4122 Obsoleted by RFC-9562 (document change)
10+
(pointed out by @akefirad)
11+
712
5.1.0 (02-Jun-2024)
813

914
#99: New factory method to create TimeBasedEpochRandomGenerator

src/main/java/com/fasterxml/uuid/UUIDType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Enumeration of different flavors of UUIDs: 5 specified by specs
5-
* (<a href="http://tools.ietf.org/html/rfc4122">RFC-4122</a>)
5+
* (<a href="http://tools.ietf.org/html/rfc9562">RFC-9562</a>)
66
* and one
77
* virtual entry ("UNKNOWN") to represent invalid one that consists of
88
* all zero bites

src/main/java/com/fasterxml/uuid/impl/UUIDUtil.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public UUIDUtil() { }
4646

4747
/**
4848
* Accessor for so-call "Nil UUID" (see
49-
* <a href="https://www.rfc-editor.org/rfc/rfc4122#section-4.1.7">RFC 4122/4.1.7</a>;
49+
* <a href="https://datatracker.ietf.org/doc/html/rfc9562#name-nil-uuid">RFC 9562, #5.9</a>;
5050
* one that is all zeroes.
5151
*
5252
* @since 4.1
@@ -59,7 +59,7 @@ public static UUID nilUUID() {
5959

6060
/**
6161
* Accessor for so-call "Max UUID" (see
62-
* <a href="https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#name-max-uuid">UUID 6 draft</a>;
62+
* <a href="https://datatracker.ietf.org/doc/html/rfc9562#name-max-uuid">RFC-9562, #5.10</a>);
6363
* one that is all one bits
6464
*
6565
* @since 4.1

0 commit comments

Comments
 (0)