Refine code style

This commit is contained in:
Mygod
2018-06-02 07:43:16 +08:00
parent f6d98d0e88
commit c8b6af1e49

View File

@@ -7,7 +7,7 @@ class InterfaceMonitor(val iface: String) : UpstreamMonitor() {
/**
* Based on: https://android.googlesource.com/platform/external/iproute2/+/70556c1/ip/ipaddress.c#1053
*/
private val parser = ("^(Deleted )?-?\\d+: ([^:@]+)").toRegex()
private val parser = "^(Deleted )?-?\\d+: ([^:@]+)".toRegex()
}
private inner class IpLinkMonitor : IpMonitor() {