...
A time out occured while publishing version 2.0.1 to maven central. The version 2.0.2 will be created to try again.
This commit is contained in:
		
							parent
							
								
									3962862107
								
							
						
					
					
						commit
						24a2d4ce13
					
				| 
						 | 
				
			
			@ -28,7 +28,7 @@ Add these lines to your `pom.xml`.
 | 
			
		|||
<dependency>
 | 
			
		||||
  <groupId>com.github.f4b6a3</groupId>
 | 
			
		||||
  <artifactId>ulid-creator</artifactId>
 | 
			
		||||
  <version>2.0.1</version>
 | 
			
		||||
  <version>2.0.2</version>
 | 
			
		||||
</dependency>
 | 
			
		||||
```
 | 
			
		||||
See more options in [maven.org](https://search.maven.org/artifact/com.github.f4b6a3/ulid-creator).
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,7 @@ public final class UlidCreator {
 | 
			
		|||
	 * The random component is generated by a secure random number generator:
 | 
			
		||||
	 * {@link java.security.SecureRandom}.
 | 
			
		||||
	 * 
 | 
			
		||||
	 * @return a ULID
 | 
			
		||||
	 * @return a ULID string
 | 
			
		||||
	 */
 | 
			
		||||
	public static String getUlidString() {
 | 
			
		||||
		return UlidSpecCreatorHolder.INSTANCE.createString();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -145,7 +145,7 @@ public class UlidSpecCreator {
 | 
			
		|||
	 * The random component is generated by a secure random number generator:
 | 
			
		||||
	 * {@link java.security.SecureRandom}.
 | 
			
		||||
	 * 
 | 
			
		||||
	 * @return a ULID
 | 
			
		||||
	 * @return a ULID string
 | 
			
		||||
	 */
 | 
			
		||||
	public synchronized String createString() {
 | 
			
		||||
		return UlidConverter.toString(create());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,20 +15,4 @@ class UlidSpecCreatorMock extends UlidSpecCreator {
 | 
			
		|||
 | 
			
		||||
		this.previousTimestamp = previousTimestamp;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public long getRandom1() {
 | 
			
		||||
		return this.random1;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public long getRandom2() {
 | 
			
		||||
		return this.random2;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public long getRandomMax1() {
 | 
			
		||||
		return this.random1;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public long getRandomMax2() {
 | 
			
		||||
		return this.random2;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -22,7 +22,7 @@ public class UlidSpecCreatorTest {
 | 
			
		|||
 | 
			
		||||
	private static final Random RANDOM = new Random();
 | 
			
		||||
 | 
			
		||||
	protected static final String DUPLICATE_UUID_MSG = "A duplicate ULID was created";
 | 
			
		||||
	protected static final String DUPLICATE_UUID_MSG = "A duplicate ULID was created.";
 | 
			
		||||
 | 
			
		||||
	protected static final int THREAD_TOTAL = availableProcessors();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue