From 2ec4b96c14287fc82ea8b3ba722fe04a59a9ff13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Wed, 17 Jan 2024 10:55:39 +0900 Subject: [PATCH] =?UTF-8?q?Vcs=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vcs/src/main/java/one/nem/lacerta/vcs/LacertaVcs.java | 1 + .../main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vcs/src/main/java/one/nem/lacerta/vcs/LacertaVcs.java b/vcs/src/main/java/one/nem/lacerta/vcs/LacertaVcs.java index 3a47e45a..5ac6fc41 100644 --- a/vcs/src/main/java/one/nem/lacerta/vcs/LacertaVcs.java +++ b/vcs/src/main/java/one/nem/lacerta/vcs/LacertaVcs.java @@ -13,6 +13,7 @@ public interface LacertaVcs { public void generateRevisionAtCurrent(String message); + // debug public void printLog(); 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 cea5728b..f2b845c2 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 @@ -29,9 +29,7 @@ public class LacertaVcsImpl implements LacertaVcs { public LacertaVcsImpl(LacertaLogger logger, LacertaDatabase database, @Assisted String documentId) { this.logger = logger; this.database = database; - if (documentId != null) { - this.documentId = documentId; - } + this.documentId = documentId; logger.debug(TAG, "LacertaVcsImpl constructor"); }