Skip to content

Commit

Permalink
Update UUIDs.java
Browse files Browse the repository at this point in the history
fix: UUIDs always return same uuid
  • Loading branch information
zengLH1981 authored Dec 29, 2021
1 parent 6f92799 commit 0d99161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/andreinc/mockneat/unit/id/UUIDs.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public UUIDs() {

@Override
public Supplier<String> supplier() {
return UUID.randomUUID()::toString;
return ()->UUID.randomUUID().toString();
}

}

0 comments on commit 0d99161

Please sign in to comment.