Skip to content

Commit bbb1d53

Browse files
author
morz
committed
chore(format): apply Spotless formatting
1 parent a2f5207 commit bbb1d53

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

core/network/src/main/kotlin/com/google/samples/apps/nowinandroid/core/network/api/NewsResourceApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ internal interface NewsResourceApi {
3535
suspend fun getNewsResourcesChangeList(
3636
@Query("after") after: Int?,
3737
): List<NetworkChangeList>
38-
}
38+
}

core/network/src/main/kotlin/com/google/samples/apps/nowinandroid/core/network/api/TopicApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ internal interface TopicApi {
3535
suspend fun getTopicChangeList(
3636
@Query("after") after: Int?,
3737
): List<NetworkChangeList>
38-
}
38+
}

core/network/src/main/kotlin/com/google/samples/apps/nowinandroid/core/network/di/ApiModule.kt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2025 The Android Open Source Project
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package com.google.samples.apps.nowinandroid.core.network.di
218

319
import androidx.tracing.trace
@@ -30,4 +46,4 @@ internal object ApiModule {
3046
return retrofit.create(NewsResourceApi::class.java)
3147
}
3248
}
33-
}
49+
}

core/network/src/main/kotlin/com/google/samples/apps/nowinandroid/core/network/retrofit/RetrofitNiaNetwork.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ internal data class NetworkResponse<T>(
4444
@Singleton
4545
internal class RetrofitNiaNetwork @Inject constructor(
4646
val newsResourceApi: NewsResourceApi,
47-
val topicApi: TopicApi
47+
val topicApi: TopicApi,
4848
) : NiaNetworkDataSource {
4949

5050
override suspend fun getTopics(ids: List<String>?): List<NetworkTopic> =

0 commit comments

Comments
 (0)