From a0831dca3c087658a689bae102e2040a90c48d2e Mon Sep 17 00:00:00 2001 From: Luca Milanesio <luca.milanesio@gmail.com> Date: Fri, 08 Nov 2013 10:53:52 -0500 Subject: [PATCH] Allows the home root link top-left anchor to be customised. --- src/main/java/com/gitblit/BranchGraphServlet.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gitblit/BranchGraphServlet.java b/src/main/java/com/gitblit/BranchGraphServlet.java index 05c3c65..293a291 100644 --- a/src/main/java/com/gitblit/BranchGraphServlet.java +++ b/src/main/java/com/gitblit/BranchGraphServlet.java @@ -55,9 +55,9 @@ /** * Handles requests for branch graphs - * + * * @author James Moger - * + * */ public class BranchGraphServlet extends HttpServlet { @@ -82,7 +82,7 @@ /** * Returns an url to this servlet for the specified parameters. - * + * * @param baseURL * @param repository * @param objectId @@ -148,7 +148,7 @@ } // fetch the requested commits plus some extra so that the last - // commit displayed *likely* has correct lane assignments + // commit displayed *likely* has correct lane assignments CommitList commitList = new CommitList(); commitList.source(rw); commitList.fillTo(2*Math.max(requestedCommits, maxCommits)); @@ -190,7 +190,7 @@ // create an image buffer and render the lanes BufferedImage image = new BufferedImage(graphWidth, rowHeight*numCommits, BufferedImage.TYPE_INT_ARGB); - + Graphics2D g = null; try { g = image.createGraphics(); -- Gitblit v1.9.1