Get enough in to fully parse a .kdbx database and load it into java objects.

This commit is contained in:
Brian Pellin committed 2010-06-02 20:33:07 -05:00
1 parent bd7f48e0e7
commit 2380579654
39 files changed
+2567 -147

No files matched your search

@@ -34,7 +34,7 @@ public abstract class AddEntry extends RunnableOnFinish {
public static AddEntry getInstance(Database db, PwEntry entry, OnFinish finish) {
if ( entry instanceof PwEntryV3 ) {
return new AddEntryV3(db, (PwEntryV3) entry, finish);
return new AddEntryV3(db, (PwEntry) entry, finish);
} else {
// TODO: Implement me
throw new RuntimeException("Not implemented yet.");
@@ -76,7 +76,7 @@ public abstract class AddEntry extends RunnableOnFinish {
mDb.dirty.put(parent, new WeakReference<PwGroup>(parent));
// Add entry to global
mDb.entries.put(Types.bytestoUUID(mEntry.uuid), new WeakReference<PwEntry>(mEntry));
mDb.entries.put(mEntry.getUUID(), new WeakReference<PwEntry>(mEntry));
if ( mDb.indexBuilt ) {
// Add entry to search index