Skip to content

Commit 7c7c4a0

Browse files
committed
Update README
1 parent d322833 commit 7c7c4a0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ JUG is licensed under [Apache License 2.0](http://www.apache.org/licenses/LICENS
1919
| OSS Sponsorship | [![Tidelift](https://tidelift.com/badges/package/maven/com.fasterxml.uuid:java-uuid-generator)](https://tidelift.com/subscription/pkg/maven-com-fasterxml-uuid-java-uuid-generator?utm_source=maven-com-fasterxml-uuid-java-uuid-generator&utm_medium=referral&utm_campaign=readme) |
2020
| Javadocs | [![Javadoc](https://javadoc.io/badge/com.fasterxml.uuid/java-uuid-generator.svg)](http://www.javadoc.io/doc/com.fasterxml.uuid/java-uuid-generator)
2121
| Code coverage (6.x) | [![codecov.io](https://codecov.io/github/cowtowncoder/java-uuid-generator/coverage.svg?branch=master)](https://codecov.io/github/cowtowncoder/java-uuid-generator?branch=master) |
22-
| CodeQ (LGTM.com) | [![LGTM alerts](https://img.shields.io/lgtm/alerts/g/cowtowncoder/java-uuid-generator.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/cowtowncoder/java-uuid-generator/alerts/) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/cowtowncoder/java-uuid-generator.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/cowtowncoder/java-uuid-generator/context:java) |
2322

2423
## Usage
2524

@@ -34,7 +33,7 @@ Maven coordinates are:
3433
<dependency>
3534
<groupId>com.fasterxml.uuid</groupId>
3635
<artifactId>java-uuid-generator</artifactId>
37-
<version>4.1.0</version>
36+
<version>4.1.1</version>
3837
</dependency>
3938
```
4039

@@ -124,25 +123,25 @@ it is rather slower than JUG version: for more information, read
124123
JUG jar built under `target/`:
125124

126125
```
127-
target/java-uuid-generator-4.1.1-SNAPSHOT.jar
126+
target/java-uuid-generator-4.1.2-SNAPSHOT.jar
128127
```
129128

130129
can also be used as a simple Command-line UUID generation tool.
131130

132131
To see usage you can do something like:
133132

134-
java -jar target/java-uuid-generator-4.1.1-SNAPSHOT.jar
133+
java -jar target/java-uuid-generator-4.1.2-SNAPSHOT.jar
135134

136135
and get full instructions, but to generate 5 Random-based UUIDs, you would use:
137136

138-
java -jar target/java-uuid-generator-4.1.1-SNAPSHOT.jar -c 5 r
137+
java -jar target/java-uuid-generator-4.1.2-SNAPSHOT.jar -c 5 r
139138

140139
(where `-c` (or `--count`) means number of UUIDs to generate, and `r` means Random-based version)
141140

142141
NOTE: this functionality is included as of JUG 4.1 -- with earlier versions you would need a bit longer invocation as Jar metadata did not specify "Main-Class".
143142
If so, you would need to use
144143

145-
java -cp target/java-uuid-generator-4.1.1-SNAPSHOT.jar com.fasterxml.uuid.Jug -c 5 r
144+
java -cp target/java-uuid-generator-4.1.2-SNAPSHOT.jar com.fasterxml.uuid.Jug -c 5 r
146145

147146
## Compatibility
148147

@@ -193,7 +192,7 @@ There are many other publicly available UUID generators. For example:
193192

194193
Note that although some packages claim to be faster than others, it is not clear:
195194

196-
1. whether laims have been properly verified (or, if they have, can be independently verified), OR
195+
1. whether claims have been properly verified (or, if they have, can be independently verified), OR
197196
2. whether performance differences truly matter: JUG, for example, can generate millions of UUID per second per core (sometimes hitting the theoretical limit of 10 million per second) -- and it seems unlikely that generation will be bottleneck for any actual use case
198197

199198
so it is often best to choose based on stability of packages and API.

0 commit comments

Comments
 (0)