mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-09 11:41:29 +00:00
Remove unused class PostScanRequest (#1139)
This commit is contained in:
parent
436070db45
commit
3cb13b68f5
2 changed files with 0 additions and 23 deletions
|
@ -1,22 +0,0 @@
|
|||
package com.nutomic.syncthingandroid.http;
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
|
||||
import com.android.volley.Request;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
public class PostScanRequest extends ApiRequest {
|
||||
|
||||
private static final String URI_SCAN = "/rest/db/scan";
|
||||
|
||||
public PostScanRequest(Context context, URL url, String apiKey,
|
||||
String folder, String sub) {
|
||||
super(context, url, URI_SCAN, apiKey);
|
||||
Uri uri = buildUri(ImmutableMap.of("folder", folder, "sub", sub));
|
||||
connect(Request.Method.POST, uri, null, null, null);
|
||||
}
|
||||
|
||||
}
|
|
@ -21,7 +21,6 @@ import com.nutomic.syncthingandroid.SyncthingApp;
|
|||
import com.nutomic.syncthingandroid.activities.ShareActivity;
|
||||
import com.nutomic.syncthingandroid.http.GetRequest;
|
||||
import com.nutomic.syncthingandroid.http.PostConfigRequest;
|
||||
import com.nutomic.syncthingandroid.http.PostScanRequest;
|
||||
import com.nutomic.syncthingandroid.model.Config;
|
||||
import com.nutomic.syncthingandroid.model.Completion;
|
||||
import com.nutomic.syncthingandroid.model.CompletionInfo;
|
||||
|
|
Loading…
Reference in a new issue