From 9c47959ece677eaaceb6f3d2eb42b0466f60acdc Mon Sep 17 00:00:00 2001
From: Markus Fömpe <markus.foempe@gmail.com>
Date: Fri, 04 Jan 2013 06:03:09 -0500
Subject: [PATCH] Removed DoubleCheckedLocking from checkstyle.xml. Since Checkstyle 5.6 it's no longer supported (see http://checkstyle.sourceforge.net/releasenotes.html)
---
src/com/gitblit/wicket/pages/TreePage.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/com/gitblit/wicket/pages/TreePage.java b/src/com/gitblit/wicket/pages/TreePage.java
index 5396ed6..b8ce7b4 100644
--- a/src/com/gitblit/wicket/pages/TreePage.java
+++ b/src/com/gitblit/wicket/pages/TreePage.java
@@ -144,11 +144,11 @@
item.add(links);
} else {
// blob link
- String displayPath = entry.path;
+ String displayPath = entry.name;
String path = entry.path;
if (entry.isSymlink()) {
path = JGitUtils.getStringContent(getRepository(), getCommit().getTree(), path);
- displayPath = entry.path + " -> " + path;
+ displayPath = entry.name + " -> " + path;
}
item.add(WicketUtils.getFileImage("pathIcon", entry.name));
item.add(new Label("pathSize", byteFormat.format(entry.size)));
--
Gitblit v1.9.1