summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/utils/PatchFormatter.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-04-15 17:18:51 -0400
committerJames Moger <james.moger@gitblit.com>2011-04-15 17:18:51 -0400
commit87cc1ed60735a419a3ea23f20614fc0a3f9bab60 (patch)
tree272ae060613fcc4616c6ad46bc47d7048200e872 /src/com/gitblit/utils/PatchFormatter.java
parent155bf78e3377910d29b2c912f58c0f496cb428e8 (diff)
downloadgitblit-87cc1ed60735a419a3ea23f20614fc0a3f9bab60.tar.gz
gitblit-87cc1ed60735a419a3ea23f20614fc0a3f9bab60.zip
Settings overhaul. Fixes to authentication. Bind interface feature.
Settings access has been abstracted and the way is becoming clear to offer a WAR build in addition to the integrated server stack. Util methods moved around.
Diffstat (limited to 'src/com/gitblit/utils/PatchFormatter.java')
-rw-r--r--src/com/gitblit/utils/PatchFormatter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/gitblit/utils/PatchFormatter.java b/src/com/gitblit/utils/PatchFormatter.java
index f019ce40..15c1f940 100644
--- a/src/com/gitblit/utils/PatchFormatter.java
+++ b/src/com/gitblit/utils/PatchFormatter.java
@@ -78,7 +78,7 @@ public class PatchFormatter extends DiffFormatter {
}
for (String path : changes.keySet()) {
PatchTouple touple = changes.get(path);
- patch.append("\n " + Utils.rightPad(path, maxPathLen, ' ') + " | " + Utils.leftPad("" + touple.total(), 4, ' ') + " " + touple.relativeScale(unit));
+ patch.append("\n " + StringUtils.rightPad(path, maxPathLen, ' ') + " | " + StringUtils.leftPad("" + touple.total(), 4, ' ') + " " + touple.relativeScale(unit));
}
patch.append(MessageFormat.format("\n {0} files changed, {1} insertions(+), {2} deletions(-)\n\n", files, insertions, deletions));
patch.append(os.toString());