Skip to content

Commit 17184ce

Browse files
committed
Fix javadoc
1 parent 82b67b5 commit 17184ce

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/main/java/com/networknt/schema/DisallowUnknownJsonMetaSchemaFactory.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ private static class Holder {
3131
private static DisallowUnknownJsonMetaSchemaFactory INSTANCE = new DisallowUnknownJsonMetaSchemaFactory();
3232
}
3333

34+
/**
35+
* Gets the instance of {@link DisallowUnknownJsonMetaSchemaFactory}.
36+
*
37+
* @return the json meta schema factory
38+
*/
3439
public static DisallowUnknownJsonMetaSchemaFactory getInstance() {
3540
return Holder.INSTANCE;
3641
}

src/main/java/com/networknt/schema/DisallowUnknownKeywordFactory.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ private static class Holder {
3636
private static DisallowUnknownKeywordFactory INSTANCE = new DisallowUnknownKeywordFactory();
3737
}
3838

39+
/**
40+
* Gets the instance of {@link DisallowUnknownKeywordFactory}.
41+
*
42+
* @return the keyword factory
43+
*/
3944
public static DisallowUnknownKeywordFactory getInstance() {
4045
return Holder.INSTANCE;
4146
}

0 commit comments

Comments
 (0)