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
stable-5.1
Dave Borowitz 6 years ago committed by David Pursehouse
parent
commit
3447e2a776
  1. 8
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsConfig.java

8
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsConfig.java

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