From d1231c63669f4bc3643985b9032de7f998612e08 Mon Sep 17 00:00:00 2001
From: Jason Pyeron <jpyeron@pdinc.us>
Date: Sun, 19 Aug 2012 21:35:52 -0400
Subject: [PATCH] fixed build to allow builds where a proxy is needed for access to outside resources see: http://ant.apache.org/manual/proxy.html
---
src/com/gitblit/utils/StringUtils.java | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/com/gitblit/utils/StringUtils.java b/src/com/gitblit/utils/StringUtils.java
index 3972f20..c13be8a 100644
--- a/src/com/gitblit/utils/StringUtils.java
+++ b/src/com/gitblit/utils/StringUtils.java
@@ -594,7 +594,6 @@
// ignore unsupported charsets
}
}
- value = new String(content, Charset.forName("UTF-8"));
if (value.startsWith("\uFEFF")) {
// strip UTF-8 BOM
return value.substring(1);
--
Gitblit v1.9.1