mirror of
https://github.com/lightbend/config.git
synced 2025-01-27 20:50:07 +08:00
Let Eclipse adjust ConfigFactory indentation to its satisfaction
This commit is contained in:
parent
5b71bb9904
commit
b30be8a392
@ -166,15 +166,15 @@ public final class ConfigFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static Config loadDefaultConfig(ClassLoader loader) {
|
private static Config loadDefaultConfig(ClassLoader loader) {
|
||||||
return loadDefaultConfig(loader, ConfigParseOptions.defaults().setClassLoader(loader));
|
return loadDefaultConfig(loader, ConfigParseOptions.defaults().setClassLoader(loader));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Config loadDefaultConfig(ClassLoader loader, ConfigParseOptions parseOptions) {
|
private static Config loadDefaultConfig(ClassLoader loader, ConfigParseOptions parseOptions) {
|
||||||
return loadDefaultConfig(loader, parseOptions, ConfigResolveOptions.defaults());
|
return loadDefaultConfig(loader, parseOptions, ConfigResolveOptions.defaults());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Config loadDefaultConfig(ClassLoader loader, ConfigResolveOptions resolveOptions) {
|
private static Config loadDefaultConfig(ClassLoader loader, ConfigResolveOptions resolveOptions) {
|
||||||
return loadDefaultConfig(loader, ConfigParseOptions.defaults(), resolveOptions);
|
return loadDefaultConfig(loader, ConfigParseOptions.defaults(), resolveOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Config loadDefaultConfig(ClassLoader loader, ConfigParseOptions parseOptions, ConfigResolveOptions resolveOptions) {
|
private static Config loadDefaultConfig(ClassLoader loader, ConfigParseOptions parseOptions, ConfigResolveOptions resolveOptions) {
|
||||||
@ -298,11 +298,11 @@ public final class ConfigFactory {
|
|||||||
/**
|
/**
|
||||||
* Like {@link #load()} but allows specifying a class loader other than the
|
* Like {@link #load()} but allows specifying a class loader other than the
|
||||||
* thread's current context class loader, and resolve options
|
* thread's current context class loader, and resolve options
|
||||||
*
|
*
|
||||||
* @param loader
|
* @param loader
|
||||||
* class loader for finding resources
|
* class loader for finding resources
|
||||||
* @param resolveOptions
|
* @param resolveOptions
|
||||||
* options for resolving the assembled config stack
|
* options for resolving the assembled config stack
|
||||||
* @return configuration for an application
|
* @return configuration for an application
|
||||||
*/
|
*/
|
||||||
public static Config load(ClassLoader loader, ConfigResolveOptions resolveOptions) {
|
public static Config load(ClassLoader loader, ConfigResolveOptions resolveOptions) {
|
||||||
|
Loading…
Reference in New Issue
Block a user