@Test public void generateUid() { final String uid1 = CodeGenerator.generateUid(); final String uid2 = CodeGenerator.generateUid(); Assert.assertNotEquals( uid1, uid2 ); }
@Nonnull public static String generateUid() { return generateCode( CODESIZE ); }
CodeGenerator { @Nonnull public static String generateUid() { return generateCode( CODESIZE ); } }
CodeGenerator { @Nonnull public static String generateUid() { return generateCode( CODESIZE ); } private  CodeGenerator(); }
CodeGenerator { @Nonnull public static String generateUid() { return generateCode( CODESIZE ); } private  CodeGenerator(); @Nonnull static String generateUid(); }
CodeGenerator { @Nonnull public static String generateUid() { return generateCode( CODESIZE ); } private  CodeGenerator(); @Nonnull static String generateUid(); static final String letters; static final String ALLOWED_CHARS; static final int NUMBER_OF_CODEPOINTS; static final int CODESIZE; }