Skip to content

Commit b163ce4

Browse files
committed
PersonNameMatchType got an additional value in v4.1.
1 parent feb3f4f commit b163ce4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/main/java/org/nameapi/client/services/matcher/personmatcher/PersonNameMatchType.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,21 @@
66
public enum PersonNameMatchType {
77

88
EQUAL,
9+
910
MATCHING,
11+
1012
SIMILAR,
11-
DIFFERENT;
13+
14+
/**
15+
* @since v4.1
16+
*/
17+
NO_SIMILARITY_FOUND,
18+
19+
DIFFERENT,
20+
;
21+
22+
public static void assertSize(int expectedItems) {
23+
assert values().length == expectedItems : "Update the code calling this with " + expectedItems + "!";
24+
}
1225

1326
}

0 commit comments

Comments
 (0)