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/build/BuildWebXml.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/build/BuildWebXml.java b/src/com/gitblit/build/BuildWebXml.java index e53a4af..4fcc6e9 100644 --- a/src/com/gitblit/build/BuildWebXml.java +++ b/src/com/gitblit/build/BuildWebXml.java @@ -126,6 +126,9 @@ return key.startsWith(Keys.server._ROOT); } + /** + * Setting represents a setting and its comments from the properties file. + */ private static class Setting { final String name; final String value; @@ -138,6 +141,9 @@ } } + /** + * JCommander Parameters class for BuildWebXml. + */ @Parameters(separators = " ") private static class Params { -- Gitblit v1.9.1