Skip to content

Commit d34d37e

Browse files
committed
add periods.
1 parent 3bbf35f commit d34d37e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringOperations.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ case class Lower(child: Expression) extends UnaryExpression with CaseConversionE
157157
override def toString() = s"Lower($child)"
158158
}
159159

160-
/** A base class for functions that compare two strings, returning a boolean */
160+
/** A base class for functions that compare two strings, returning a boolean. */
161161
abstract class StringComparison extends Expression {
162162
self: Product =>
163163

@@ -188,21 +188,21 @@ abstract class StringComparison extends Expression {
188188
}
189189

190190
/**
191-
* A function that returns true if the string `left` contains the string `right`
191+
* A function that returns true if the string `left` contains the string `right`.
192192
*/
193193
case class Contains(left: Expression, right: Expression) extends StringComparison {
194194
override def compare(l: String, r: String) = l.contains(r)
195195
}
196196

197197
/**
198-
* A function that returns true if the string `left` starts with the string `right`
198+
* A function that returns true if the string `left` starts with the string `right`.
199199
*/
200200
case class StartsWith(left: Expression, right: Expression) extends StringComparison {
201201
def compare(l: String, r: String) = l.startsWith(r)
202202
}
203203

204204
/**
205-
* A function that returns true if the string `left` ends with the string `right`
205+
* A function that returns true if the string `left` ends with the string `right`.
206206
*/
207207
case class EndsWith(left: Expression, right: Expression) extends StringComparison {
208208
def compare(l: String, r: String) = l.endsWith(r)

0 commit comments

Comments
 (0)