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"); } }