From 3e3a50db5e9c396769c24778f7f496c79068412d Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Thu, 24 Jun 2010 15:46:07 -0700 Subject: [PATCH] Change Repository.getConfig() to return non-file Configs A repository implementation might support storing configurations on a non-file storage system, so widen the return value to be any type of configuration. Change-Id: If9a0928f4b3ef29a24d270b0ce585a6e77f6fac6 Signed-off-by: Shawn O. Pearce --- org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java index bd8fc1583..201c7a3fd 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java @@ -154,7 +154,7 @@ public abstract class Repository { /** * @return the configuration of this repository */ - public abstract FileBasedConfig getConfig(); + public abstract Config getConfig(); /** * @return the used file system abstraction