mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 07:53:15 +00:00
コメント追加, デバッグ用の実装を追加
This commit is contained in:
parent
b6a30d5cbf
commit
119771a7f9
|
@ -17,4 +17,6 @@ public interface LacertaVcs {
|
|||
// debug
|
||||
public void printLog();
|
||||
|
||||
public void printRev();
|
||||
|
||||
}
|
||||
|
|
|
@ -88,6 +88,7 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||
@Override
|
||||
public void generateRevisionAtCurrent(String message) {
|
||||
logger.debug(TAG, "generateRevisionAtCurrent");
|
||||
// TODO-rca: ブランチを考慮する
|
||||
|
||||
ArrayList<VcsLogEntity> vcsLogEntities = getNonIncludedVcsLogEntities();
|
||||
|
||||
|
@ -109,6 +110,7 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||
setIncludedVcsLogEntities(vcsLogEntities);
|
||||
|
||||
logger.debug(TAG, "generateRevisionAtCurrent finished");
|
||||
logger.debug(TAG, "New revision inserted: " + vcsRevEntity.id);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -118,4 +120,12 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||
logger.debug(TAG, vcsLog.id);
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void printRev() {
|
||||
logger.debug(TAG, "printRev");
|
||||
database.vcsRevDao().findAll().forEach(vcsRev -> {
|
||||
logger.debug(TAG, vcsRev.id);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user