James Moger
2011-04-21 a645ba09d693495c50ab0ee0d1fc2734407b73a4
src/com/gitblit/wicket/pages/CommitDiffPage.java
@@ -20,6 +20,7 @@
import com.gitblit.wicket.RepositoryPage;
import com.gitblit.wicket.WicketUtils;
import com.gitblit.wicket.models.PathModel.PathChangeModel;
import com.gitblit.wicket.panels.CommitLegendPanel;
public class CommitDiffPage extends RepositoryPage {
@@ -51,6 +52,7 @@
      // changed paths list
      List<PathChangeModel> paths = JGitUtils.getFilesInCommit(r, commit);
      add(new CommitLegendPanel("commitLegend", paths));
      ListDataProvider<PathChangeModel> pathsDp = new ListDataProvider<PathChangeModel>(paths);
      DataView<PathChangeModel> pathsView = new DataView<PathChangeModel>("changedPath", pathsDp) {
         private static final long serialVersionUID = 1L;