mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
setRepository
This commit is contained in:
parent
ac3523780f
commit
3bab78883b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user