Skip to content

Commit 60a7a46

Browse files
committed
[ANDROSDK-2181] fix lint
1 parent da9853a commit 60a7a46

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

core/api/core.api

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,6 @@ public abstract class org/hisp/dhis/android/core/arch/repositories/object/intern
24142414
public abstract fun blockingGetWithoutChildren ()Ljava/lang/Object;
24152415
public fun exists ()Lio/reactivex/Single;
24162416
public fun get ()Lio/reactivex/Single;
2417-
protected final fun getInternal (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
24182417
protected final fun getScope ()Lorg/hisp/dhis/android/core/arch/repositories/scope/RepositoryScope;
24192418
protected abstract fun getWithoutChildrenInternal (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
24202419
}

core/src/main/java/org/hisp/dhis/android/core/systeminfo/internal/DHISVersionManagerImpl.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import org.hisp.dhis.android.core.systeminfo.SMSVersion
3838
import org.koin.core.annotation.Singleton
3939

4040
@Singleton
41+
@Suppress("TooManyFunctions")
4142
internal class DHISVersionManagerImpl internal constructor(
4243
private val systemInfoStore: SystemInfoStore,
4344
) : DHISVersionManager {

core/src/main/java/org/hisp/dhis/android/network/trackedentityinstance/TrackedEntityInstanceNetworkHandlerImpl.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ internal class TrackedEntityInstanceNetworkHandlerImpl(
149149
private suspend fun getEventStatus(query: TrackedEntityInstanceQueryOnline): String? {
150150
return if (query.eventStatus == null) {
151151
null
152-
} else if (!dhisVersionManager.isGreaterThanInternal(DHISVersion.V2_33) && query.eventStatus == EventStatus.ACTIVE) {
152+
} else if (
153+
!dhisVersionManager.isGreaterThanInternal(DHISVersion.V2_33)
154+
&& query.eventStatus == EventStatus.ACTIVE
155+
) {
153156
EventStatus.VISITED.toString()
154157
} else {
155158
query.eventStatus.toString()

0 commit comments

Comments
 (0)