Skip to content

Commit e9ea319

Browse files
committed
Fix comments
1 parent 183fb6c commit e9ea319

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/org/mybatis/dynamic/sql/util/kotlin/GroupingCriteriaCollector.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ sealed class SubCriteriaCollector {
114114
}
115115

116116
/**
117-
* This class is used to gather criteria for a where clause. The class gathers two types of criteria:
117+
* This class is used to gather criteria for a having or where clause. The class gathers two types of criteria:
118118
* an initial criterion, and sub-criteria connected by either an "and" or an "or".
119119
*
120120
* An initial criterion can be one of four types:

src/main/kotlin/org/mybatis/dynamic/sql/util/kotlin/KotlinBaseBuilders.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ abstract class KotlinBaseBuilder<D : AbstractWhereStarter<*,*>> {
6969
getDsl().where().or(criteria)
7070
}
7171

72-
@Deprecated("Please create a booleanExpression, then pass it to the \"where\" method")
72+
@Deprecated("Please use GroupingCriteriaCollector.where, then pass it to the \"where\" method")
7373
fun applyWhere(whereApplier: WhereApplier) = whereApplier.invoke(this)
7474

7575
/**

0 commit comments

Comments
 (0)