do not include blank fingerprints in AddRepo fingerprintRepoMap
This commit is contained in:
parent
67a5156641
commit
258d2a41c3
@ -241,7 +241,8 @@ public class ManageReposActivity extends AppCompatActivity
|
|||||||
for (String url : repo.getMirrorList()) {
|
for (String url : repo.getMirrorList()) {
|
||||||
urlRepoMap.put(url, repo);
|
urlRepoMap.put(url, repo);
|
||||||
}
|
}
|
||||||
if (TextUtils.equals(getRepoType(newAddress), getRepoType(repo.address))) {
|
if (!TextUtils.isEmpty(repo.fingerprint)
|
||||||
|
&& TextUtils.equals(getRepoType(newAddress), getRepoType(repo.address))) {
|
||||||
fingerprintRepoMap.put(repo.fingerprint, repo);
|
fingerprintRepoMap.put(repo.fingerprint, repo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user