mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +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 {
|
||||
|
||||
// リポジトリをインスタンス変数に格納
|
||||
Repository setRepository(Repository repository);
|
||||
void setRepository(Repository repository);
|
||||
|
||||
// リポジトリ取得
|
||||
Repository getRepository();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user