Skip to content

Commit 59f1519

Browse files
committed
make Generators.setFactory() public
1 parent f08c285 commit 59f1519

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/typed-ids/src/main/java/org/framefork/typedIds/bigint/ObjectBigIntId.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static BigIntGenerator getGenerator(final Constructor<?> constructor)
137137
/**
138138
* Replaces the factory with provided implementation and throws away any pre-existing generators.
139139
*/
140-
static void setFactory(final BigIntGenerator.Factory factory)
140+
public static void setFactory(final BigIntGenerator.Factory factory)
141141
{
142142
FACTORY.set(factory);
143143
GENERATORS.clear();

modules/typed-ids/src/main/java/org/framefork/typedIds/uuid/ObjectUuid.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ static UuidGenerator getGenerator(final Constructor<?> constructor)
181181
/**
182182
* Replaces the factory with provided implementation and throws away any pre-existing generators.
183183
*/
184-
static void setFactory(final UuidGenerator.Factory factory)
184+
public static void setFactory(final UuidGenerator.Factory factory)
185185
{
186186
FACTORY.set(factory);
187187
GENERATORS.clear();

0 commit comments

Comments
 (0)