Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code.

This commit is contained in:
Benoit Marty 2023-07-20 17:48:56 +02:00
parent 24ece8c454
commit 86756dbc09
9 changed files with 11 additions and 24 deletions

View file

@ -48,7 +48,7 @@ class VectorFileLogger(
}
private const val SIZE_20MB = 20 * 1024 * 1024
private const val SIZE_50MB = 50 * 1024 * 1024
// private const val SIZE_50MB = 50 * 1024 * 1024
}
/*

View file

@ -87,7 +87,7 @@ class DefaultBugReporter @Inject constructor(
// filenames
private const val LOG_CAT_ERROR_FILENAME = "logcatError.log"
private const val LOG_CAT_FILENAME = "logcat.log"
private const val KEY_REQUESTS_FILENAME = "keyRequests.log"
// private const val KEY_REQUESTS_FILENAME = "keyRequests.log"
private const val BUFFER_SIZE = 1024 * 1024 * 50
}