diff options
author | James Moger <james.moger@gitblit.com> | 2012-02-23 19:49:46 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-02-23 19:49:46 -0500 |
commit | 4fea450fd3edfba6bb9e2c3c0a9231c6d227a09c (patch) | |
tree | 31a028c588124f8ba39f2e8ecdfb446d99cb6e4f /src/com/gitblit/wicket/pages/SummaryPage.java | |
parent | 18d398e3ab5227fe10fe3f322798a51ce0cd10ca (diff) | |
download | gitblit-4fea450fd3edfba6bb9e2c3c0a9231c6d227a09c.tar.gz gitblit-4fea450fd3edfba6bb9e2c3c0a9231c6d227a09c.zip |
Fixed nullpointer on pushing to an empty repository (issue 69)
Diffstat (limited to 'src/com/gitblit/wicket/pages/SummaryPage.java')
-rw-r--r-- | src/com/gitblit/wicket/pages/SummaryPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/gitblit/wicket/pages/SummaryPage.java b/src/com/gitblit/wicket/pages/SummaryPage.java index acb41808..12371f77 100644 --- a/src/com/gitblit/wicket/pages/SummaryPage.java +++ b/src/com/gitblit/wicket/pages/SummaryPage.java @@ -84,7 +84,7 @@ public class SummaryPage extends RepositoryPage { add(new Label("repositoryOwner", getRepositoryModel().owner));
add(WicketUtils.createTimestampLabel("repositoryLastChange",
- JGitUtils.getLastChange(r, null), getTimeZone()));
+ JGitUtils.getLastChange(r), getTimeZone()));
if (metricsTotal == null) {
add(new Label("branchStats", ""));
} else {
|