Skip to content

Commit

Permalink
Name function constructors the same
Browse files Browse the repository at this point in the history
  • Loading branch information
veyndan committed Aug 4, 2022
1 parent e4fb302 commit 35f38e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -631,7 +631,7 @@ class OffsetQueryPagingSourceTest {

@Test
fun load_initialEmptyLoad_QueryPagingSourceLong() = runTest {
val pagingSource = QueryPagingSourceLong(
val pagingSource = QueryPagingSource(
countQueryLong(),
transacter,
EmptyCoroutineContext,
Expand Down
Expand Up @@ -59,6 +59,7 @@ internal abstract class QueryPagingSource<Key : Any, RowType : Any> :
* Queries will be executed on [context].
*/
@Suppress("FunctionName")
@JvmName("QueryPagingSourceInt")
fun <RowType : Any> QueryPagingSource(
countQuery: Query<Int>,
transacter: Transacter,
Expand All @@ -81,7 +82,8 @@ fun <RowType : Any> QueryPagingSource(
* @see toInt
*/
@Suppress("FunctionName")
fun <RowType : Any> QueryPagingSourceLong(
@JvmName("QueryPagingSourceLong")
fun <RowType : Any> QueryPagingSource(
countQuery: Query<Long>,
transacter: Transacter,
context: CoroutineContext = Dispatchers.IO,
Expand Down

0 comments on commit 35f38e6

Please sign in to comment.