diff --git a/source/src/main/java/one/nem/lacerta/source/jgit/ActionRepo.java b/source/src/main/java/one/nem/lacerta/source/jgit/ActionRepo.java index 1d33d3a7..6bb6f830 100644 --- a/source/src/main/java/one/nem/lacerta/source/jgit/ActionRepo.java +++ b/source/src/main/java/one/nem/lacerta/source/jgit/ActionRepo.java @@ -5,7 +5,7 @@ import org.eclipse.jgit.lib.Repository; public interface ActionRepo { // リポジトリをインスタンス変数に格納 - Repository setRepository(Repository repository); + void setRepository(Repository repository); // リポジトリ取得 Repository getRepository(); diff --git a/source/src/main/java/one/nem/lacerta/source/jgit/impl/ActionRepoImpl.java b/source/src/main/java/one/nem/lacerta/source/jgit/impl/ActionRepoImpl.java index f441cbf0..9399861a 100644 --- a/source/src/main/java/one/nem/lacerta/source/jgit/impl/ActionRepoImpl.java +++ b/source/src/main/java/one/nem/lacerta/source/jgit/impl/ActionRepoImpl.java @@ -6,9 +6,11 @@ import one.nem.lacerta.source.jgit.ActionRepo; public class ActionRepoImpl implements ActionRepo{ + Repository repository; + @Override - public Repository setRepository(Repository repository) { - return null; + public void setRepository(Repository repository) { + this.repository = repository; } @Override