From 5930f37817148229d9bcc0b47206b620e999315e Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sun, 19 Aug 2012 21:40:37 -0400
Subject: [PATCH] Fix for possible nullpointer reported in issue 123
---
tests/com/gitblit/tests/JGitUtilsTest.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/com/gitblit/tests/JGitUtilsTest.java b/tests/com/gitblit/tests/JGitUtilsTest.java
index 495a00b..ee60d05 100644
--- a/tests/com/gitblit/tests/JGitUtilsTest.java
+++ b/tests/com/gitblit/tests/JGitUtilsTest.java
@@ -86,7 +86,7 @@
list = JGitUtils.getRepositoryList(GitBlitSuite.REPOSITORIES, false, true, -1, Arrays.asList("test/*"));
assertFalse("Repository exclusion failed!", list.contains("test/jgit.git"));
- list = JGitUtils.getRepositoryList(GitBlitSuite.REPOSITORIES, false, true, -1, Arrays.asList("(jgit)+"));
+ list = JGitUtils.getRepositoryList(GitBlitSuite.REPOSITORIES, false, true, -1, Arrays.asList(".*jgit.*"));
assertFalse("Repository exclusion failed!", list.contains("test/jgit.git"));
assertFalse("Repository exclusion failed!", list.contains("working/jgit"));
assertFalse("Repository exclusion failed!", list.contains("working/jgit2"));
--
Gitblit v1.9.1