1. Sebastian Sdorra
  2. scm-statistic-plugin

Commits

Sebastian Sdorra  committed a88ba6a

fix wrong order of commits per month chart

  • Participants
  • Parent commits 9f1d102
  • Branches default

Comments (0)

Files changed (1)

File src/main/java/sonia/scm/statistic/StatisticCollector.java

View file
  • Ignore whitespace
    */
   public static CommitsPerMonth collectCommitsPerMonth(StatisticData data)
   {
-    Multiset<String> commitsPerMonth = LinkedHashMultiset.create();
+    Multiset<String> commitsPerMonth = TreeMultiset.create();
 
     for (Entry<Day> e : data.getCommitsPerDay().entrySet())
     {