Make things private
This commit is contained in:
@@ -6,7 +6,7 @@ import be.mygod.vpnhotspot.widget.SmartSnackbar
|
||||
import timber.log.Timber
|
||||
import java.net.InterfaceAddress
|
||||
|
||||
class LocalOnlyInterfaceManager(val caller: Any, val downstream: String) {
|
||||
class LocalOnlyInterfaceManager(private val caller: Any, val downstream: String) {
|
||||
private var routing: Routing? = null
|
||||
|
||||
init {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.net.*
|
||||
*
|
||||
* Once revert is called, this object no longer serves any purpose.
|
||||
*/
|
||||
class Routing(val caller: Any, val downstream: String, ownerAddress: InterfaceAddress? = null) :
|
||||
class Routing(private val caller: Any, private val downstream: String, ownerAddress: InterfaceAddress? = null) :
|
||||
IpNeighbourMonitor.Callback {
|
||||
companion object {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user