mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-15 06:22:49 +00:00
Add some toast
This commit is contained in:
parent
ca68f0525d
commit
daf81e02e6
4 changed files with 22 additions and 17 deletions
|
@ -40,16 +40,16 @@ public class Database {
|
|||
}
|
||||
}
|
||||
|
||||
public void addKey(DatabaseEntry entry) throws Exception {
|
||||
public void addKey(DatabaseEntry entry) {
|
||||
entry.setID(_entries.size() + 1);
|
||||
_entries.add(entry);
|
||||
}
|
||||
|
||||
public void removeKey(DatabaseEntry entry) throws Exception {
|
||||
public void removeKey(DatabaseEntry entry) {
|
||||
_entries.remove(entry);
|
||||
}
|
||||
|
||||
public List<DatabaseEntry> getKeys() throws Exception {
|
||||
public List<DatabaseEntry> getKeys() {
|
||||
return _entries;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue