Skip to content

Commit a835c25

Browse files
committed
Remove unnecessary parentheses
1 parent 5b71f0e commit a835c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: mobile/src/main/java/com/github/shadowsocks/MainActivity.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class MainActivity : AppCompatActivity(), ShadowsocksConnection.Interface, Drawe
164164
Acl.CHINALIST -> "www.qualcomm.cn"
165165
else -> "www.google.com"
166166
}, "/generate_204")
167-
val conn = (url.openConnection(DataStore.proxy)) as HttpURLConnection
167+
val conn = url.openConnection(DataStore.proxy) as HttpURLConnection
168168
conn.setRequestProperty("Connection", "close")
169169
conn.instanceFollowRedirects = false
170170
conn.useCaches = false

0 commit comments

Comments
 (0)