Refine code style

This commit is contained in:
Mygod
2018-05-09 18:17:47 -07:00
parent efa387fd7a
commit 3959db61d0
2 changed files with 1 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import java.net.NetworkInterface
import java.net.SocketException
import java.util.*
class Routing(val upstream: String?, val downstream: String, ownerAddress: InetAddress? = null) {
class Routing(val upstream: String?, private val downstream: String, ownerAddress: InetAddress? = null) {
companion object {
/**
* -w <seconds> is not supported on 7.1-.

View File

@@ -8,10 +8,8 @@ import android.os.Bundle
import android.support.design.widget.TextInputLayout
import android.support.v7.app.AlertDialog
import android.text.Editable
import android.text.InputType
import android.text.TextWatcher
import android.view.View
import android.widget.CheckBox
import android.widget.EditText
import android.widget.TextView
import be.mygod.vpnhotspot.R