mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-25 00:46:45 -04:00
remove outdated comments; use File concatenation instead of separators
This commit is contained in:
@@ -49,7 +49,7 @@ public class Provisioner {
|
||||
*/
|
||||
public static void scanAndProcess(Context context) {
|
||||
|
||||
File provisionDir = new File(context.getExternalFilesDir(null).getAbsolutePath() + File.separator + NEW_PROVISIONS_DIR);
|
||||
File provisionDir = new File(context.getExternalFilesDir(null).getAbsolutePath(), NEW_PROVISIONS_DIR);
|
||||
|
||||
if (!provisionDir.isDirectory()) {
|
||||
Utils.debugLog(TAG, "Provisions dir does not exists: '" + provisionDir.getAbsolutePath() + "' moving on ...");
|
||||
@@ -70,7 +70,6 @@ public class Provisioner {
|
||||
if (provision.getRepositoryProvision() != null) {
|
||||
RepositoryProvision repo = provision.getRepositoryProvision();
|
||||
|
||||
// TODO uniqx: check if repo is already enable
|
||||
Repo storedRepo = RepoProvider.Helper.findByAddress(context, repo.getUrl());
|
||||
if (storedRepo != null) {
|
||||
Utils.debugLog(TAG, "Provision contains a repo which is already added: '" + provision.getProvisonPath() + "' ignoring ...");
|
||||
|
||||
@@ -298,8 +298,6 @@ public class ManageReposActivity extends AppCompatActivity implements LoaderMana
|
||||
case EXISTS_DISABLED:
|
||||
case EXISTS_UPGRADABLE_TO_SIGNED:
|
||||
case EXISTS_FINGERPRINT_MATCH:
|
||||
// TODO uniqx:
|
||||
//updateAndEnableExistingRepo(url, fp, username, password);
|
||||
updateAndEnableExistingRepo(url, fp);
|
||||
finishedAddingRepo();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user