Polishing

This commit is contained in:
Juergen Hoeller
2015-02-10 19:30:59 +01:00
parent 7585be85f3
commit 058714b03a
10 changed files with 36 additions and 42 deletions

View File

@@ -45,8 +45,8 @@ public class AlternativeJdkIdGenerator implements IdGenerator {
}
@Override
public UUID generateId() {
byte[] randomBytes = new byte[16];
this.random.nextBytes(randomBytes);

View File

@@ -27,7 +27,7 @@ import java.util.UUID;
*/
public class JdkIdGenerator implements IdGenerator {
@Override
public UUID generateId() {
return UUID.randomUUID();
}