Skip to content

Commit fe69129

Browse files
committed
Update comment
1 parent 5894f15 commit fe69129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/bitlap/geocoding/GeocodingX.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ open class GeocodingX(val ctx: Context) {
2020
/**
2121
* @param dataClassPath 自定义地址文档的classpath路径
2222
* @param strict 解析模式, 默认为false。当发现没有省和市,且匹配的父项数量等于1时,能成功匹配。
23-
* * true: 严格模式,当发现没有省和市,且匹配的父项数量大于0时,返回null
24-
* * false: 非严格模式,当发现没有省和市,且匹配的父项数量大于0时,匹配随机一项省和市
23+
* * true: 严格模式,当发现没有省和市,且匹配的父项数量大于1时,返回null
24+
* * false: 非严格模式,当发现没有省和市,且匹配的父项数量大于1时,匹配随机一项省和市
2525
*/
2626
constructor(dataClassPath: String, strict: Boolean): this(Context(dataClassPath, strict))
2727

0 commit comments

Comments
 (0)