SystemReader: Use correct constructor of FileBasedConfig
The merge done in change If0c5010a2 resolved a conflict incorrectly and reverted the fix that was done in change Id0bcdc93b. Change-Id: I0f5fde33d1f366817f2b966eb42535f7bd3b063e Reported-by: Thomas Wolf <thomas.wolf@paranor.ch> Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
bbf3da1aac
commit
c2a5b7fdcf
|
@ -126,7 +126,7 @@ protected FileBasedConfig createSystemConfig(Config parent, FS fs) {
|
||||||
return new FileBasedConfig(parent, configFile, fs);
|
return new FileBasedConfig(parent, configFile, fs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new FileBasedConfig(null, fs) {
|
return new FileBasedConfig(parent, null, fs) {
|
||||||
@Override
|
@Override
|
||||||
public void load() {
|
public void load() {
|
||||||
// empty, do not load
|
// empty, do not load
|
||||||
|
|
Loading…
Reference in New Issue