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 {
|
||||
|
||||
// リポジトリをインスタンス変数に格納
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user