From 6d5241110bc22f69287dc285a6793301075bb3dc Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Mon, 14 Jun 2010 23:33:02 +0200 Subject: [PATCH] git-servlet: Fix comparing uploadFactory with the wrong DISABLED instance Change-Id: I53f71dc0e3c68839da5ff5a2e0f3eeb8340e4793 Signed-off-by: Robin Rosenberg --- .../src/org/eclipse/jgit/http/server/GitServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java index cc4cf6a80..e28e4eeb2 100644 --- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java +++ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java @@ -185,7 +185,7 @@ public class GitServlet extends MetaServlet { initialized = true; - if (uploadPackFactory != ReceivePackFactory.DISABLED) { + if (uploadPackFactory != UploadPackFactory.DISABLED) { serve("*/git-upload-pack")// .with(new UploadPackServlet(uploadPackFactory)); }