コンストラクタ追加

This commit is contained in:
r-ca 2024-01-20 23:00:57 +09:00
parent 9aea4bb90e
commit 9efecab4b6
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -18,11 +18,14 @@ import one.nem.lacerta.utils.LacertaLogger;
public class LacertaLibraryImpl implements LacertaLibrary {
@Inject
LacertaLogger logger;
LacertaDatabase database;
@Inject
LacertaDatabase database;
public LacertaLibraryImpl(LacertaLogger logger, LacertaDatabase database) {
this.logger = logger;
this.database = database;
}
@Override
public ArrayList<ListItem> getRecentDocument(int limit) {