From 7cf2b3c673183facb7e6f19ec59ec39822762525 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 30 May 2008 17:12:04 +0200 Subject: [PATCH] fix complete bash of base file --- src/net/pterodactylus/jsite/project/Project.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/pterodactylus/jsite/project/Project.java b/src/net/pterodactylus/jsite/project/Project.java index 4c1a368..0e96b9c 100644 --- a/src/net/pterodactylus/jsite/project/Project.java +++ b/src/net/pterodactylus/jsite/project/Project.java @@ -419,7 +419,7 @@ public class Project extends AbstractBean { completePath.insert(0, currentProjectFile.getName()).insert(0, File.separatorChar); currentProjectFile = currentProjectFile.parentProjectFile; } - return completePath.toString(); + return (completePath.length() > 0) ? completePath.substring(1) : ""; } /** -- 2.7.4