From f98614c5f23aea37e1f782ac107f3e1c97f3616e Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 14 Jan 2024 13:00:29 +0900 Subject: [PATCH] =?UTF-8?q?Impl=E3=82=AF=E3=83=A9=E3=82=B9=E3=82=B3?= =?UTF-8?q?=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9=E3=82=AF=E3=82=BF=E5=AE=9F?= =?UTF-8?q?=E8=A3=85=20WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/vcs/impl/LacertaVcsImpl.java | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/vcs/src/main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java b/vcs/src/main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java index c33bf6a6..9827db49 100644 --- a/vcs/src/main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java +++ b/vcs/src/main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java @@ -1,8 +1,32 @@ package one.nem.lacerta.vcs.impl; +import javax.inject.Inject; + +import dagger.assisted.Assisted; +import dagger.assisted.AssistedInject; +import one.nem.lacerta.source.database.LacertaDatabase; +import one.nem.lacerta.utils.LacertaLogger; import one.nem.lacerta.vcs.LacertaVcs; public class LacertaVcsImpl implements LacertaVcs { + + // TAG + private static final String TAG = LacertaVcsImpl.class.getSimpleName(); + + String documentId; + + LacertaDatabase database; + + LacertaLogger logger; + + @AssistedInject + public LacertaVcsImpl(LacertaLogger logger, LacertaDatabase database, @Assisted String documentId) { + this.logger = logger; + this.database = database; + this.documentId = documentId; + logger.debug(TAG, "LacertaVcsImpl constructor"); + } + @Override public void updatePage(int index, String fileName) { @@ -20,6 +44,6 @@ public class LacertaVcsImpl implements LacertaVcs { @Override public void printLog() { - + logger.debug(TAG, "printLog"); } }