From 7c643b65f3613e30a14e8e9decc92fddb8bfd654 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Fri, 01 Jul 2011 17:42:56 -0400
Subject: [PATCH] Documentation. Include LICENSE and NOTICE files in both builds.
---
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