Skip to content

Commit

Permalink
delete: unused TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
amirisback committed Apr 26, 2024
1 parent 05b0b77 commit 26a44cc
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 19 deletions.
1 change: 0 additions & 1 deletion app/src/main/java/com/frogobox/appsdk/FrogoApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import java.util.*
class FrogoApp : FrogoKoinApplication() {

companion object {
val TAG: String = FrogoApplication::class.java.simpleName

lateinit var instance: FrogoApplication

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import com.google.gson.Gson
*
*/

private const val TAG = "FrogoContextActivityExt"

inline fun <reified ClassActivity> Context.startActivityExt() {
startActivity(Intent(this, ClassActivity::class.java))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ import java.util.concurrent.Executors

class DiskIOThreadExecutor : Executor {

companion object {
val TAG: String = DiskIOThreadExecutor::class.java.simpleName
}

private val diskIO = Executors.newSingleThreadExecutor()

override fun execute(command: Runnable) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class FrogoMusic(
private val musicFile: Int
) : IFrogoMusic {

companion object {
val TAG: String = FrogoMusic::class.java.simpleName
}

private val musicPlayer: MediaPlayer = MediaPlayer.create(context, musicFile)

override fun getMusicPlayer(): MediaPlayer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import androidx.lifecycle.Observer
import com.frogobox.sdk.ext.showLogError
import java.util.concurrent.atomic.AtomicBoolean

/*
/**
* Created by faisalamir on 26/07/21
* FrogoSDK
* -----------------------------------------
Expand All @@ -23,17 +23,13 @@ import java.util.concurrent.atomic.AtomicBoolean
@Deprecated("Use MutableLiveData From AndroidX Lifecycle KTX instead")
class FrogoMutableLiveData<T> : MutableLiveData<T>() {

companion object {
val TAG: String = FrogoMutableLiveData::class.java.simpleName
}

private val pending = AtomicBoolean(false)

@MainThread
override fun observe(owner: LifecycleOwner, observer: Observer<in T>) {

if (hasActiveObservers()) {
showLogError("$TAG : Multiple observers registered but only one will be notified of changes.")
showLogError("FrogoMutableLiveData : Multiple observers registered but only one will be notified of changes.")
}

// Observe the internal MutableLiveData
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ import java.util.concurrent.TimeUnit

object FrogoApiClient {

val TAG: String = FrogoApiClient::class.java.simpleName

private val httpLoggingInterceptor = HttpLoggingInterceptor().apply {
level = HttpLoggingInterceptor.Level.BODY
}
Expand Down

0 comments on commit 26a44cc

Please sign in to comment.