Browse Source

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 <spearce@spearce.org>
tags/v0.9.1
Shawn O. Pearce 14 years ago
parent
commit
3e3a50db5e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java

+ 1
- 1
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java View File

@@ -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

Loading…
Cancel
Save