Browse Source

Revert some unnecessary changes

pull/422/head
Alon Albert 7 years ago
parent
commit
1876fe89cf
  1. 26
      app/src/main/java/org/transdroid/daemon/Utorrent/UtorrentAdapter.java

26
app/src/main/java/org/transdroid/daemon/Utorrent/UtorrentAdapter.java

@ -17,19 +17,6 @@
*/ */
package org.transdroid.daemon.Utorrent; package org.transdroid.daemon.Utorrent;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import com.android.internalcopy.http.multipart.FilePart; import com.android.internalcopy.http.multipart.FilePart;
import com.android.internalcopy.http.multipart.MultipartEntity; import com.android.internalcopy.http.multipart.MultipartEntity;
import com.android.internalcopy.http.multipart.Part; import com.android.internalcopy.http.multipart.Part;
@ -78,6 +65,19 @@ import org.transdroid.daemon.task.SetTransferRatesTask;
import org.transdroid.daemon.task.StartTask; import org.transdroid.daemon.task.StartTask;
import org.transdroid.daemon.util.HttpHelper; import org.transdroid.daemon.util.HttpHelper;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
/** /**
* An adapter that allows for easy access to uTorrent torrent data. Communication is handled via authenticated JSON-RPC * An adapter that allows for easy access to uTorrent torrent data. Communication is handled via authenticated JSON-RPC
* HTTP GET requests and responses. * HTTP GET requests and responses.

Loading…
Cancel
Save