2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.cdm
.common
;
11 import java
.util
.UUID
;
13 import org
.apache
.logging
.log4j
.LogManager
;
14 import org
.apache
.logging
.log4j
.Logger
;
19 public class UuidGenerator
{
20 private static final Logger logger
= LogManager
.getLogger();
22 private static int n
= 100;
24 public static void main(String
[] args
) {
25 if (logger
.isDebugEnabled()){logger
.debug("create UUIDs");}
26 for (int i
= 0; i
< n
; i
++){
27 System
.out
.println(UUID
.randomUUID());