mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-29 05:13:03 -08:00
Merge keepassdroid 2.2.0.8 and update changelog
This commit is contained in:
commit
ecdd744b8e
25 files changed
+372
-66
No files matched your search
@@ -19,6 +19,7 @@
|
||||
*/
|
||||
package com.keepassdroid.database;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
@@ -49,6 +50,14 @@ public class BinaryPool {
|
||||
public Set<Entry<Integer, ProtectedBinary>> entrySet() {
|
||||
return pool.entrySet();
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
pool.clear();
|
||||
}
|
||||
|
||||
public Collection<ProtectedBinary> binaries() {
|
||||
return pool.values();
|
||||
}
|
||||
|
||||
private class AddBinaries extends EntryHandler<PwEntryV4> {
|
||||
|
||||
@@ -72,7 +81,7 @@ public class BinaryPool {
|
||||
|
||||
}
|
||||
|
||||
private void poolAdd(ProtectedBinary pb) {
|
||||
public void poolAdd(ProtectedBinary pb) {
|
||||
assert(pb != null);
|
||||
|
||||
if (poolFind(pb) != -1) return;
|
||||
|
||||
Reference in new issue
Block a user