Clean code.
This commit is contained in:
parent
a69edd8989
commit
6e4dd6e77b
@ -105,14 +105,6 @@ public class ReviewStatsReporter
|
|||||||
|
|
||||||
IntegerStat stat = board.get(currentDuration);
|
IntegerStat stat = board.get(currentDuration);
|
||||||
int total = board.getCountSum();
|
int total = board.getCountSum();
|
||||||
|
|
||||||
logger.debug("1 {}", stat.getValue());
|
|
||||||
logger.debug("2 {}", board.getPositionOf(stat.getValue()));
|
|
||||||
logger.debug("3 {}", board.getMinValue());
|
|
||||||
logger.debug("4 {}", board.getAverage());
|
|
||||||
logger.debug("5 {}", board.getMaxValue());
|
|
||||||
logger.debug("6 {}", stat.getCount());
|
|
||||||
|
|
||||||
result = String.format(
|
result = String.format(
|
||||||
"Statistiques sur la durée de la revue (%d mn) : position %d (min=%d mn,moy=%.1f mn,max=%d mn), fréquence %d/%d (%.0f %%)",
|
"Statistiques sur la durée de la revue (%d mn) : position %d (min=%d mn,moy=%.1f mn,max=%d mn), fréquence %d/%d (%.0f %%)",
|
||||||
stat.getValue(), board.getPositionOf(stat.getValue()), board.getMinValue(), board.getAverage(), board.getMaxValue(), stat.getCount(),
|
stat.getValue(), board.getPositionOf(stat.getValue()), board.getMinValue(), board.getAverage(), board.getMaxValue(), stat.getCount(),
|
||||||
|
Loading…
Reference in New Issue
Block a user