From 4fea450fd3edfba6bb9e2c3c0a9231c6d227a09c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 23 Feb 2012 19:49:46 -0500 Subject: [PATCH] Fixed nullpointer on pushing to an empty repository (issue 69) --- src/com/gitblit/utils/IssueUtils.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/utils/IssueUtils.java b/src/com/gitblit/utils/IssueUtils.java index d0a0199..eb3b347 100644 --- a/src/com/gitblit/utils/IssueUtils.java +++ b/src/com/gitblit/utils/IssueUtils.java @@ -740,7 +740,7 @@ * @param issueId * @return the root path of the issue content on the gb-issues branch */ - private static String getIssuePath(String issueId) { + static String getIssuePath(String issueId) { return issueId.substring(0, 2) + "/" + issueId.substring(2); } -- Gitblit v1.9.1