Skip to content

Commit

Permalink
Remove unnecessary paratheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Apr 9, 2018
1 parent 5b71f0e commit a829e01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -164,7 +164,7 @@ class MainActivity : AppCompatActivity(), ShadowsocksConnection.Interface, Drawe
Acl.CHINALIST -> "www.qualcomm.cn"
else -> "www.google.com"
}, "/generate_204")
val conn = (url.openConnection(DataStore.proxy)) as HttpURLConnection
val conn = url.openConnection(DataStore.proxy) as HttpURLConnection
conn.setRequestProperty("Connection", "close")
conn.instanceFollowRedirects = false
conn.useCaches = false
Expand Down

0 comments on commit a829e01

Please sign in to comment.