Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolanrensen committed Apr 25, 2024
1 parent 65a3e02 commit 23a7469
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ internal fun KCallable<*>.isGetterLike(): Boolean =

/** Returns the column name for this callable.
* If the callable contains the [ColumnName][org.jetbrains.kotlinx.dataframe.annotations.ColumnName] annotation, its [ColumnName.name][org.jetbrains.kotlinx.dataframe.annotations.ColumnName.name] is returned.
* Otherwise, the name of the callable is returned with proper getter-trimming iff it's a [KFunction]. */
* Otherwise, the name of the callable is returned with proper getter-trimming if it's a [KFunction]. */
@PublishedApi
internal val KFunction<*>.columnName: String
get() = findAnnotation<ColumnName>()?.name
Expand All @@ -381,15 +381,15 @@ internal val KFunction<*>.columnName: String

/** Returns the column name for this callable.
* If the callable contains the [ColumnName][org.jetbrains.kotlinx.dataframe.annotations.ColumnName] annotation, its [ColumnName.name][org.jetbrains.kotlinx.dataframe.annotations.ColumnName.name] is returned.
* Otherwise, the name of the callable is returned with proper getter-trimming iff it's a [KFunction]. */
* Otherwise, the name of the callable is returned with proper getter-trimming if it's a [KFunction]. */
@PublishedApi
internal val KProperty<*>.columnName: String
get() = findAnnotation<ColumnName>()?.name ?: name

/**
* Returns the column name for this callable.
* If the callable contains the [ColumnName] annotation, its [ColumnName.name] is returned.
* Otherwise, the name of the callable is returned with proper getter-trimming iff it's a [KFunction].
* Otherwise, the name of the callable is returned with proper getter-trimming if it's a [KFunction].
*/
@PublishedApi
internal val KCallable<*>.columnName: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ internal val KProperty<*>.columnName: String
/**
* Returns the column name for this callable.
* If the callable contains the [ColumnName] annotation, its [ColumnName.name] is returned.
* Otherwise, the name of the callable is returned with proper getter-trimming iff it's a [KFunction].
* Otherwise, the name of the callable is returned with proper getter-trimming if it's a [KFunction].
*/
@PublishedApi
internal val KCallable<*>.columnName: String
Expand Down

0 comments on commit 23a7469

Please sign in to comment.