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