From d561bf2ea6c41f82127988c7a7e676a8728ba5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Tue, 12 Dec 2023 12:41:20 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AA=E3=83=9D=E3=82=B8=E3=83=88=E3=83=AA?= =?UTF-8?q?=E4=BD=9C=E6=88=90=E3=83=AD=E3=82=B8=E3=83=83=E3=82=AF=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/data/impl/DebugFuncImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/src/main/java/one/nem/lacerta/data/impl/DebugFuncImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/DebugFuncImpl.java index 952f6a31..1804ad74 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/DebugFuncImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/DebugFuncImpl.java @@ -18,11 +18,11 @@ public class DebugFuncImpl implements DebugFunc { RepoUtils repoUtils; public Repository getOrCreateRepositoryById(String id) { -// Repository repo = repoUtils.getRepo(id); // TODO-rca: リポジトリの存在確認をもうすこしなんとかする -// if (repo == null) { -// repo = repoUtils.createRepo(id); -// } - Repository repo = repoUtils.createRepo(id); // debug + Repository repo = repoUtils.getRepo(id); // TODO-rca: リポジトリの存在確認をもうすこしなんとかする + if (repo == null) { + repo = repoUtils.createRepo(id); + } +// Repository repo = repoUtils.createRepo(id); // debug return repo; } }