From 2711bc82a373a3c2e357b5948e2a6e0c477d8534 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 22 Oct 2012 16:23:53 -0400
Subject: [PATCH] Fixed bug where owner could not edit a repository through web ui
---
src/com/gitblit/utils/ArrayUtils.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/com/gitblit/utils/ArrayUtils.java b/src/com/gitblit/utils/ArrayUtils.java
index d0322b6..41d110a 100644
--- a/src/com/gitblit/utils/ArrayUtils.java
+++ b/src/com/gitblit/utils/ArrayUtils.java
@@ -29,7 +29,11 @@
public static boolean isEmpty(byte [] array) {
return array == null || array.length == 0;
}
-
+
+ public static boolean isEmpty(char [] array) {
+ return array == null || array.length == 0;
+ }
+
public static boolean isEmpty(Object [] array) {
return array == null || array.length == 0;
}
--
Gitblit v1.9.1