Development of version 3.0.0 #7

renamed subpackage 'creator' to 'factory'
This commit is contained in:
Fabio Lima 2021-01-30 09:28:32 -03:00
parent fc9aa7742e
commit 4df6fbfa9b
10 changed files with 17 additions and 13 deletions

View File

@ -35,7 +35,7 @@ Add these lines to your `pom.xml`.
<dependency>
<groupId>com.github.f4b6a3</groupId>
<artifactId>ulid-creator</artifactId>
<version>3.0.0</version>
<version>3.0.1</version>
</dependency>
```
See more options in [maven.org](https://search.maven.org/artifact/com.github.f4b6a3/ulid-creator).

View File

@ -24,9 +24,9 @@
package com.github.f4b6a3.ulid;
import com.github.f4b6a3.ulid.creator.MonotonicUlidFactory;
import com.github.f4b6a3.ulid.creator.UlidFactory;
import com.github.f4b6a3.ulid.creator.DefaultUlidFactory;
import com.github.f4b6a3.ulid.factory.DefaultUlidFactory;
import com.github.f4b6a3.ulid.factory.MonotonicUlidFactory;
import com.github.f4b6a3.ulid.factory.UlidFactory;
/**
* Facade to the ULID factories.

View File

@ -22,7 +22,7 @@
* SOFTWARE.
*/
package com.github.f4b6a3.ulid.creator;
package com.github.f4b6a3.ulid.factory;
import com.github.f4b6a3.ulid.Ulid;

View File

@ -22,7 +22,7 @@
* SOFTWARE.
*/
package com.github.f4b6a3.ulid.creator;
package com.github.f4b6a3.ulid.factory;
import com.github.f4b6a3.ulid.Ulid;

View File

@ -22,7 +22,7 @@
* SOFTWARE.
*/
package com.github.f4b6a3.ulid.creator;
package com.github.f4b6a3.ulid.factory;
import java.util.Random;

View File

@ -3,8 +3,8 @@ package com.github.f4b6a3.ulid;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import com.github.f4b6a3.ulid.creator.MonotonicUlidFactoryTest;
import com.github.f4b6a3.ulid.creator.DefaultUlidFactoryTest;
import com.github.f4b6a3.ulid.factory.DefaultUlidFactoryTest;
import com.github.f4b6a3.ulid.factory.MonotonicUlidFactoryTest;
@RunWith(Suite.class)
@Suite.SuiteClasses({

View File

@ -2,7 +2,7 @@ package com.github.f4b6a3.ulid;
import java.util.HashSet;
import com.github.f4b6a3.ulid.UlidCreator;
import com.github.f4b6a3.ulid.creator.UlidFactory;
import com.github.f4b6a3.ulid.factory.UlidFactory;
/**
*

View File

@ -1,9 +1,10 @@
package com.github.f4b6a3.ulid.creator;
package com.github.f4b6a3.ulid.factory;
import org.junit.Test;
import com.github.f4b6a3.ulid.Ulid;
import com.github.f4b6a3.ulid.UlidCreator;
import com.github.f4b6a3.ulid.factory.UlidFactory;
import static org.junit.Assert.*;

View File

@ -1,9 +1,10 @@
package com.github.f4b6a3.ulid.creator;
package com.github.f4b6a3.ulid.factory;
import org.junit.Test;
import com.github.f4b6a3.ulid.Ulid;
import com.github.f4b6a3.ulid.UlidCreator;
import com.github.f4b6a3.ulid.factory.UlidFactory;
import static org.junit.Assert.*;

View File

@ -1,10 +1,12 @@
package com.github.f4b6a3.ulid.creator;
package com.github.f4b6a3.ulid.factory;
import java.util.HashSet;
import java.util.Random;
import java.util.Set;
import java.util.UUID;
import com.github.f4b6a3.ulid.factory.UlidFactory;
public abstract class UlidFactoryTest {
protected static final int DEFAULT_LOOP_MAX = 10_000;