From c2272275ca990f3e12a5c1fa0a5de4c670a4d8b4 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sat, 11 Jun 2011 16:23:49 -0400
Subject: [PATCH] RSS syndication feature. Documentation. CSS tweaks.
---
src/com/gitblit/utils/ByteFormat.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/com/gitblit/utils/ByteFormat.java b/src/com/gitblit/utils/ByteFormat.java
index fee645c..ea198de 100644
--- a/src/com/gitblit/utils/ByteFormat.java
+++ b/src/com/gitblit/utils/ByteFormat.java
@@ -26,9 +26,9 @@
public ByteFormat() {
}
-
+
public String format(long value) {
- return format(new Long(value));
+ return format(Long.valueOf(value));
}
public StringBuffer format(Object obj, StringBuffer buf, FieldPosition pos) {
@@ -51,7 +51,7 @@
}
return buf;
}
-
+
public Object parseObject(String source, ParsePosition pos) {
return null;
}
--
Gitblit v1.9.1