From 9efecab4b6aa27ac3c86d803dc20bce6802fc001 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 20 Jan 2024 23:00:57 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=82=AF=E3=82=BF=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java index 01a7209f..3a182552 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java @@ -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 getRecentDocument(int limit) {