Remove some unused methods from providers.

This commit is contained in:
Peter Serwylo 2016-06-27 22:30:01 +10:00
parent 6e3b1fde86
commit ec36f2a1cd
2 changed files with 0 additions and 20 deletions

View File

@ -102,13 +102,6 @@ public class ApkProvider extends FDroidProvider {
return cursorToList(cursor); return cursorToList(cursor);
} }
/**
* @see org.fdroid.fdroid.data.ApkProvider.Helper#find(Context, Repo, List, String[])
*/
public static List<Apk> find(Context context, Repo repo, List<App> apps) {
return find(context, repo, apps, Cols.ALL);
}
public static Apk find(Context context, String packageName, int versionCode, String[] projection) { public static Apk find(Context context, String packageName, int versionCode, String[] projection) {
final Uri uri = getContentUri(packageName, versionCode); final Uri uri = getContentUri(packageName, versionCode);
return find(context, uri, projection); return find(context, uri, projection);
@ -276,15 +269,6 @@ public class ApkProvider extends FDroidProvider {
.build(); .build();
} }
public static Uri getContentUriForApks(Repo repo, List<Apk> apks) {
return getContentUri()
.buildUpon()
.appendPath(PATH_REPO_APK)
.appendPath(Long.toString(repo.id))
.appendPath(buildApkString(apks))
.build();
}
/** /**
* Intentionally left protected because it will break if apks is larger than * Intentionally left protected because it will break if apks is larger than
* {@link org.fdroid.fdroid.data.ApkProvider#MAX_APKS_TO_QUERY}. Instead of using * {@link org.fdroid.fdroid.data.ApkProvider#MAX_APKS_TO_QUERY}. Instead of using

View File

@ -201,10 +201,6 @@ public class AppProvider extends FDroidProvider {
super(selection, args); super(selection, args);
} }
AppQuerySelection(String selection, List<String> args) {
super(selection, args);
}
public boolean naturalJoinToInstalled() { public boolean naturalJoinToInstalled() {
return naturalJoinToInstalled; return naturalJoinToInstalled;
} }