diff options
author | James Moger <james.moger@gitblit.com> | 2014-04-10 17:33:19 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-04-10 19:01:30 -0400 |
commit | b2fec20f1f1081607b54b3e7dd20b12d03cef113 (patch) | |
tree | 4979033daec189d6a56c983b73478e782b7e91c9 /src/main/java/com/gitblit/utils | |
parent | d433fd3ab6185c2fb5eab998d1fcab4dd0940e5f (diff) | |
download | gitblit-b2fec20f1f1081607b54b3e7dd20b12d03cef113.tar.gz gitblit-b2fec20f1f1081607b54b3e7dd20b12d03cef113.zip |
Improve plugin manager based on upstreamed contributions to pf4j
Diffstat (limited to 'src/main/java/com/gitblit/utils')
-rw-r--r-- | src/main/java/com/gitblit/utils/StringUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/utils/StringUtils.java b/src/main/java/com/gitblit/utils/StringUtils.java index 5813c3ae..7605fe01 100644 --- a/src/main/java/com/gitblit/utils/StringUtils.java +++ b/src/main/java/com/gitblit/utils/StringUtils.java @@ -307,7 +307,7 @@ public class StringUtils { * @param bytes
* @return byte array as hex string
*/
- private static String toHex(byte[] bytes) {
+ public static String toHex(byte[] bytes) {
StringBuilder sb = new StringBuilder(bytes.length * 2);
for (int i = 0; i < bytes.length; i++) {
if ((bytes[i] & 0xff) < 0x10) {
|