Remove whitespace

This commit is contained in:
Jakub Kozłowski 2018-11-04 17:02:02 +01:00 committed by GitHub
parent 59c8bb8de8
commit d5f9311861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -764,7 +764,7 @@ If you have trouble with your configuration, some useful tips.
and you're sure that key is defined in your config file, they might appear e.g. and you're sure that key is defined in your config file, they might appear e.g.
when you're loading configuration from a thread that's not the JVM's main thread. when you're loading configuration from a thread that's not the JVM's main thread.
Try passing the `ClassLoader` in manually - e.g. with `ConfigFactory.load(getClass().getClassLoader())` Try passing the `ClassLoader` in manually - e.g. with `ConfigFactory.load(getClass().getClassLoader())`
or setting the context class loader. or setting the context class loader.
If you don't pass one, Lightbend Config uses the calling thread's `contextClassLoader`, and in some cases, If you don't pass one, Lightbend Config uses the calling thread's `contextClassLoader`, and in some cases,
it may not have your configuration files in its classpath, it may not have your configuration files in its classpath,
so loading the config on that thread can yield unexpected, erroneous results. so loading the config on that thread can yield unexpected, erroneous results.