mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
setRepository
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -5,7 +5,7 @@ import org.eclipse.jgit.lib.Repository;
|
|||||||
public interface ActionRepo {
|
public interface ActionRepo {
|
||||||
|
|
||||||
// リポジトリをインスタンス変数に格納
|
// リポジトリをインスタンス変数に格納
|
||||||
Repository setRepository(Repository repository);
|
void setRepository(Repository repository);
|
||||||
|
|
||||||
// リポジトリ取得
|
// リポジトリ取得
|
||||||
Repository getRepository();
|
Repository getRepository();
|
||||||
|
|||||||
@@ -6,9 +6,11 @@ import one.nem.lacerta.source.jgit.ActionRepo;
|
|||||||
|
|
||||||
public class ActionRepoImpl implements ActionRepo{
|
public class ActionRepoImpl implements ActionRepo{
|
||||||
|
|
||||||
|
Repository repository;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Repository setRepository(Repository repository) {
|
public void setRepository(Repository repository) {
|
||||||
return null;
|
this.repository = repository;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in new issue
Block a user