Browse Source

Make DfsConfig public

This may be convenient for downstream implementers who require a dummy
StoredConfig implementation, rather than making them reimplement the two
abstract StoredConfig methods.

Change-Id: I2b7bc6250d722c2b95d9f99e4eff1e5bf97cb567
tags/v5.1.0.201808281540-m3
Dave Borowitz 6 years ago
parent
commit
3447e2a776

+ 7
- 1
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsConfig.java View File

@@ -48,7 +48,13 @@ import java.io.IOException;
import org.eclipse.jgit.errors.ConfigInvalidException;
import org.eclipse.jgit.lib.StoredConfig;

final class DfsConfig extends StoredConfig {
/**
* Config implementation used by DFS repositories.
* <p>
* The current implementation acts as if there is no persistent storage: loading
* simply clears the config, and saving does nothing.
*/
public final class DfsConfig extends StoredConfig {
/** {@inheritDoc} */
@Override
public void load() throws IOException, ConfigInvalidException {

Loading…
Cancel
Save