ui: Remove unnecessary non-null assertion in TAG fields
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
b00aacbc41
commit
03a838ba2d
@@ -103,6 +103,6 @@ abstract class BaseFragment : Fragment(), OnSelectedTunnelChangedListener {
|
||||
|
||||
companion object {
|
||||
private const val REQUEST_CODE_VPN_PERMISSION = 23491
|
||||
private val TAG = "WireGuard/${BaseFragment::class.simpleName!!}"
|
||||
private val TAG = "WireGuard/${BaseFragment::class.simpleName}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,6 +229,6 @@ class TunnelEditorFragment : BaseFragment(), AppExclusionListener {
|
||||
companion object {
|
||||
private const val KEY_LOCAL_CONFIG = "local_config"
|
||||
private const val KEY_ORIGINAL_NAME = "original_name"
|
||||
private val TAG = "WireGuard/${TunnelEditorFragment::class.simpleName!!}"
|
||||
private val TAG = "WireGuard/${TunnelEditorFragment::class.simpleName}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -397,6 +397,6 @@ class TunnelListFragment : BaseFragment() {
|
||||
const val REQUEST_IMPORT = 1
|
||||
private const val REQUEST_TARGET_FRAGMENT = 2
|
||||
private const val CHECKED_ITEMS = "CHECKED_ITEMS"
|
||||
private val TAG = "WireGuard/${TunnelListFragment::class.simpleName!!}"
|
||||
private val TAG = "WireGuard/${TunnelListFragment::class.simpleName}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user