Make things private
This commit is contained in:
@@ -6,7 +6,7 @@ import be.mygod.vpnhotspot.widget.SmartSnackbar
|
|||||||
import timber.log.Timber
|
import timber.log.Timber
|
||||||
import java.net.InterfaceAddress
|
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
|
private var routing: Routing? = null
|
||||||
|
|
||||||
init {
|
init {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import java.net.*
|
|||||||
*
|
*
|
||||||
* Once revert is called, this object no longer serves any purpose.
|
* 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 {
|
IpNeighbourMonitor.Callback {
|
||||||
companion object {
|
companion object {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user