From dfb88962fdbd29f59abe92178bb042738d57c3e1 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 11 May 2011 22:07:18 -0400 Subject: [PATCH] Add user. Implemented repository view and git access restrictions. --- src/com/gitblit/utils/StringUtils.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/gitblit/utils/StringUtils.java b/src/com/gitblit/utils/StringUtils.java index 6d646df..ff47a51 100644 --- a/src/com/gitblit/utils/StringUtils.java +++ b/src/com/gitblit/utils/StringUtils.java @@ -5,8 +5,9 @@ import java.security.NoSuchAlgorithmException; import java.util.List; + public class StringUtils { - + public static boolean isEmpty(String value) { return value == null || value.trim().length() == 0; } @@ -106,5 +107,4 @@ throw new RuntimeException(t); } } - } -- Gitblit v1.9.1