Commit d1aa769e601e9a6b75ad28b0477666d08251e356

Authored by Imanol-Mikel Barba Sabariego
1 parent c9c5b5b3

--no commit message

src/com/upc/pbe/upcnews/Descarrega.java
@@ -16,7 +16,6 @@ import android.util.Log; @@ -16,7 +16,6 @@ import android.util.Log;
16 //Descarrega un arxiu i el guarda o retorna en String 16 //Descarrega un arxiu i el guarda o retorna en String
17 public class Descarrega extends AsyncTask<Object, Object, Object> 17 public class Descarrega extends AsyncTask<Object, Object, Object>
18 { 18 {
19 -  
20 final static String TAG = "Descarrega"; 19 final static String TAG = "Descarrega";
21 private String html; 20 private String html;
22 21
@@ -31,7 +30,6 @@ public class Descarrega extends AsyncTask&lt;Object, Object, Object&gt; @@ -31,7 +30,6 @@ public class Descarrega extends AsyncTask&lt;Object, Object, Object&gt;
31 // Creem l'arxiu 30 // Creem l'arxiu
32 File file = new File(path + url.substring(url.lastIndexOf("/")+1, url.length())); 31 File file = new File(path + url.substring(url.lastIndexOf("/")+1, url.length()));
33 // Iniciem la descarrega 32 // Iniciem la descarrega
34 -  
35 URLConnection conn = new URL(url).openConnection(); 33 URLConnection conn = new URL(url).openConnection();
36 conn.connect(); 34 conn.connect();
37 Log.d(TAG, "\nDescarregant: \n"); 35 Log.d(TAG, "\nDescarregant: \n");