Skip to content

Commit

Permalink
Merge pull request #106 from zengLH1981/master
Browse files Browse the repository at this point in the history
fix: UUIDs always return same uuid
  • Loading branch information
nomemory authored Jan 2, 2022
2 parents fd2076c + 0d99161 commit 031fbae
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 031fbae

Please sign in to comment.