We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 7632cdae authored by Mike Sheldon's avatar Mike Sheldon

Fix more code formatting in libredroid

parent 4a6da48f
......@@ -392,8 +392,7 @@ public class LibreDroid extends Activity {
this.path = f.getAbsolutePath();
FileOutputStream fo = new FileOutputStream(f);
URL aURL = new URL(song.location);
HttpURLConnection conn = (HttpURLConnection) aURL
.openConnection();
HttpURLConnection conn = (HttpURLConnection) aURL.openConnection();
conn.connect();
if (conn.getResponseCode() == 301 || conn.getResponseCode() == 302 || conn.getResponseCode() == 307) {
// Redirected
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment